[GH-ISSUE #28] Trackpad events not being handled by evdev #7

Closed
opened 2026-10-15 12:51:07 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @cfalas on GitHub (May 17, 2025).
Original GitHub issue: https://github.com/games-on-whales/inputtino/issues/28

Hey, thanks for all the work on the project!

I'm trying to implement native trackpad support for moonlight/sunshine (for personal use, not sure if maintainers would want to upstream it) and although I can see the events being sent to evdev (e.g. through a simple script using python-evdev and listening on the /dev/inputX file), I can't seem to make my cursor move.

I initially assumed that it was me misinterpreting some parameters, but then I saw this comment in the tests I thought it might be a wider issue. Did you manage to get it to work at some point?

Originally created by @cfalas on GitHub (May 17, 2025). Original GitHub issue: https://github.com/games-on-whales/inputtino/issues/28 Hey, thanks for all the work on the project! I'm trying to implement native trackpad support for moonlight/sunshine (for personal use, not sure if maintainers would want to upstream it) and although I can see the events being sent to evdev (e.g. through a simple script using `python-evdev` and listening on the `/dev/inputX` file), I can't seem to make my cursor move. I initially assumed that it was me misinterpreting some parameters, but then I saw [this comment in the tests](https://github.com/games-on-whales/inputtino/blob/stable/tests/testLibinput.cpp#L239) I thought it might be a wider issue. Did you manage to get it to work at some point?
Author
Owner

@cfalas commented on GitHub (May 17, 2025):

Looks like this was a user error - I was setting too high of a pressure, which caused libinput to think that it was a palm (and therefore didn't move the cursor)

<!-- gh-comment-id:2888546766 --> @cfalas commented on GitHub (May 17, 2025): Looks like this was a user error - I was setting too high of a pressure, which caused libinput to think that it was a palm (and therefore didn't move the cursor)
Author
Owner

@ABeltramo commented on GitHub (May 18, 2025):

Yeah, been there, done that. We should definitely add a comment in the header file though..

<!-- gh-comment-id:2888822537 --> @ABeltramo commented on GitHub (May 18, 2025): Yeah, been there, done that. We should definitely add a comment in the header file though..
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/inputtino#7
No description provided.