SFML community forums
Help => Window => Topic started by: Brussell on March 17, 2018, 08:05:17 pm
-
Hello,
My issue is that running my program on a Windows 10 tablet
mouse events will fire after two quick taps, but touch does not register.
sf::Touch::isDown(0)
Never returns true
and event.type's never equal
sf::Event::TouchBegan
or
sf::Event::TouchEnded
Thanks for taking the time to read about my issue.
-
The touch part isn't implemented (https://github.com/SFML/SFML/blob/master/src/SFML/Window/Win32/InputImpl.cpp#L232) yet for Windows.
Would be great if you could give the feature/windows_touch branch (https://github.com/SFML/SFML/tree/feature/windows_touch) a try, there are also pre-built binaries (https://www.sfml-dev.org/artifacts/by-branch/feature/windows_touch/).
-
Hey! It's working great on first try. Thanks for the reply.