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

Multi-touch finger count #24

Open
icedman opened this issue Oct 22, 2022 · 1 comment
Open

Multi-touch finger count #24

icedman opened this issue Oct 22, 2022 · 1 comment

Comments

@icedman
Copy link

icedman commented Oct 22, 2022

How does one filter for 3 finger multi-touch events?
I wanted to convert a three finger multi-touch motion into a mouse drag. (Like in macOS)

--print doesn't seem to provide info on number of fingers

@KarsMulder
Copy link
Owner

KarsMulder commented Oct 23, 2022

The Linux kernel reports which finger is responsible for multitouch events by sending an ABS_MT_SLOT event (documentation).

However, evsieve currently does not contain any useful abstractions that make it easy to work with such events. I've kinda considered them to be out of scope for now.

I have considered that in the future ABS_MT events should contain the slot as part of the event code (e.g. abs:mt_position_x(0):1 might mean "an EV_ABS, ABS_MT_POSITION_X event for slot 0 and value 1) which is why evsieve gives a warning that ABS_MT support is unstable whenever you try to use them.

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

2 participants