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

plugins: input-raw: Parse BTN_LEFT in MT mode #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dsemkowicz-tt
Copy link
Contributor

Some devices, like eGalax USB HID touch panel, emulate a mouse device. In such case, BTN_LEFT instead of BTN_TOUCH event is read from evdev input. This case is already covered in ts_input_read(), but not in the ts_input_read_mt(). As ts_uinput tool always uses multitouch mode, such devices do not register touch events correctly.

Handle BTN_LEFT in the same way as BTN_TOUCH is handled to fix this problem. This will now be common with ts_input_read() implementation.

Some devices, like eGalax USB HID touch panel, emulate a mouse device.
In such case, BTN_LEFT instead of BTN_TOUCH event is read from evdev
input. This case is already covered in `ts_input_read()`, but not in the
`ts_input_read_mt()`. As `ts_uinput` tool always uses multitouch mode,
such devices do not register touch events correctly.

Handle BTN_LEFT in the same way as BTN_TOUCH is handled to fix this
problem. This will now be common with `ts_input_read()` implementation.

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
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

Successfully merging this pull request may close these issues.

None yet

1 participant