| Summary: | [patch] Multitouch support for evdev input via mtdev | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Tobias Himmer <provisorisch> |
| Component: | *don't know* | Assignee: | Gabriel Jacobo <gabomdq> |
| Status: | WAITING --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amaranth72, gabomdq, mtweber |
| Version: | HG 2.1 | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Attachments: |
Adds multitouch support for evdev input via mtdev
add evdev touch support |
||
|
Description
Tobias Himmer
2014-09-02 11:45:21 UTC
Thanks, this is great! I'll be reviewing this patch after 2.0.4 is out. (In reply to Tobias Himmer from comment #0) > Multitouch coordinates are currently reported in window/screen coordinates - > not normalized between 0.0 and 1.0 - to match the X11 behavior. (Bug 2307) That doesn't match the Android/iOS/Mac/Windows behaviour or the SDL documentation or public header file comments, though. Created attachment 2152 [details]
add evdev touch support
I didn't realize somebody already worked on this, but here is my version of the patch that adds support for multitouch for evdev.
This version matches the 0.0 -> 1.0 span for x and y coordinates by looking up the min/max values of the input device via ioctl.
Is there a reason to use the mtdev support over the raw evdev support? Should we use mtdev and fall back to evdev if it's not available? |