-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
Invert pointing device motion pin for cirque touchpads #18404
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a fan of the chosen name as it doesnt really align with any of the existing options.
Suggestions would be to align to the existing _ACTIVE_LOW
(or at a push _ON_STATE
?).
c5da8aa
to
463eeb4
Compare
I aligned the name with the other defines in
To my understanding (and after grepping over parts of QMK), the |
My issue with |
Mh, that is obviously true. So you're suggesting to rename the current |
Nah, you'd only need to define |
…uchpads Cirque touchpads 'data ready'-pin implements active-high logic in contrast to most other pointing devices which use an active-low logic. Therefore, this commit implements both a configurable inversion of the motion pin logic and sets the the default for the cirque touchpad driver accordingly.
463eeb4
to
5b20ddb
Compare
Alright, this should now be more to your liking :) I'm not completely happy with the result as |
Needed by the Cirque Trackpad for motion detection
Description
Cirque touchpads 'data ready'-pin implements active-high logic in contrast to most other pointing devices which use an active-low logic. Therefore, this commit implements both a configurable inversion of the motion pin logic and sets the the default for the cirque touchpad driver accordingly.
Types of Changes
Issues Fixed or Closed by This PR
This issue came up yesterday in the #help-firmware discord channel and was pointed out by @daskygit after Kuromitsu#5783 tried to use the motion pin.
Checklist