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

Author Topic: My app is not receiving touch events.  (Read 7619 times)

0 Members and 1 Guest are viewing this topic.

Tima32

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Email
My app is not receiving touch events.
« on: June 04, 2021, 10:18:08 pm »
My application is not receiving touch events.
The touchscreen works well, tested in Chrome.
cout << "E: " << event_e.type << endl;
if (event_e.type == Event::TouchBegan)
{
        cout << event_e.touch.finger << endl;
}
 
What could I have missed?
SFML 2.5.1
Windows 10
Visual Studio 19

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: My app is not receiving touch events.
« Reply #1 on: June 05, 2021, 10:46:18 am »
There's no support for touch events on Windows.
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
Re: My app is not receiving touch events.
« Reply #2 on: June 07, 2021, 04:49:21 pm »
Or rather not yet.

Mostly waiting for someone to pick up the existing branch and bring it up to date with the current short comings: https://github.com/SFML/SFML/pull/965

There were also some issues with touch inputs last I tried it
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/