Skip to content
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

[patch] Add touchscreen mouse emulation and pressure support to SDL_evdev #2904

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: HG 2.0
Reported for operating system, platform: Linux, ARM

Comments on the original bug report:

On 2018-05-25 21:41:56 +0000, Zack Middleton (zturtleman) wrote:

Created attachment 3248
evdev: ignore BTN_TOUCH, support SDL_TOUCH_MOUSEID and pressure.

Silence warning about EVDEV KeyCode 330 (BTN_TOUCH) when pressing or releasing touchscreen.[1]
Add support for touchscreen mouse emulation using SDL_TOUCH_MOUSEID to SDL_evdev.
Add unverified support for touchscreen pressure to SDL_evdev.

Tested on Raspbian Stretch with the official Raspberry Pi 7" touchscreen (no pressure support).

[1] INFO: The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list https://discourse.libsdl.org/ EVDEV KeyCode 330

On 2019-01-15 00:43:59 +0000, Ryan C. Gordon wrote:

This patch is now https://hg.libsdl.org/SDL/rev/f100ca4dd31e, thanks!

--ryan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant