Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Windows 10 Tablet does not trigger touch events  (Read 2478 times)

0 Members and 1 Guest are viewing this topic.

Brussell

  • Newbie
  • *
  • Posts: 2
    • View Profile
Windows 10 Tablet does not trigger touch events
« 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.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Windows 10 Tablet does not trigger touch events
« Reply #1 on: March 19, 2018, 09:52:15 am »
The touch part isn't implemented yet for Windows.

Would be great if you could give the feature/windows_touch branch a try, there are also pre-built binaries.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Brussell

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Windows 10 Tablet does not trigger touch events
« Reply #2 on: April 17, 2018, 08:13:12 pm »
Hey! It's working great on first try. Thanks for the reply.

 

anything