-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to add touchscreen support to SDL version on a raspberry pi #5693
Comments
Your If you run into further issues you may find it helpful to look at the IO log. You can access it via the demo window (Tools > Metrics / Debugger and then Tools > Show Debug Log) or by calling |
Thank you I appreciate the input, can't believe I missed that. I can move windows around now but can't interact with the controls. I'll check out the logging window and see if it provides some clues. |
@stash763 Have you got around to investigate this further? I am surprised that touch events are not emitting Mouse events. On Windows with SDL2 it does that. |
Hello,
I'm not sure if this is the right place to post, I'm trying to modify the imgui_impl_sdl.cpp file to add touchscreen support on a raspberry pi. I've added SDL touch events to the event loop and it seems to process them similarly to mouse event. The programs isn't responding to them the same way and I'm not sure why. The following was added to the event->type loop.
The touch events occur like I would expect them to, however imgui doesn't seem to be responding to the "click" events. The most I can get to occur is it will act like the mouse is hovering over a control in the demo. I feel like I'm missing something with how imgui works.
Thank you
The text was updated successfully, but these errors were encountered: