| Summary: | [patch] Add support for single touch evdev devices | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Jan Martin Mikkelsen <janm> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | Patch supporting single touch evdev | ||
Patch has been added, thanks! https://hg.libsdl.org/SDL/rev/5b0bc0ed588a What are some examples of devices like this? The classical one is the ELO Touchscreen. It's in lots of different devices, especially point-of-sale terminals. We're using this one for industrial applications with an in-house single-touch evdev driver: http://www.tipro.net/ecatalogue/new-befree22/ The FreeBSD eGalax touchscreen driver also provides a single-touch interface when compiled for evdev. I'm not sure about drivers in the Linux tree; I'm not in that ecosystem. Got it, thanks! |
Created attachment 3821 [details] Patch supporting single touch evdev The attached patch adds support for single-touch evdev devices. These devices report ABS_X, ABS_Y and BTN_TOUCH events. This patch sets them up as MT devices with a single slot and handles the appropriate messages.