-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Linux/x11 input handling #7811
Linux/x11 input handling #7811
Conversation
| x::EventMask::BUTTON1_MOTION | ||
| x::EventMask::BUTTON2_MOTION | ||
| x::EventMask::BUTTON3_MOTION | ||
| x::EventMask::BUTTON4_MOTION | ||
| x::EventMask::BUTTON5_MOTION |
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.
I may be uneducated, but what are these button1-5? If this is not commonplace knowledge maybe comments should be added to describe what each maps to
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.
Mouse pointer motion while mouse button 1-5 is down.
835e65d
to
9a82cf3
Compare
Implements the basics of keyboard and mouse handling.
Some keys will need special treatment, like Backspace/Delete. In this PR, all keys are treated as append-only. Leaving this for a follow-up.
I used @gabydd 's branch as a reference (thank you!) as well as https://github.com/xkbcommon/libxkbcommon/blob/master/doc/quick-guide.md
For future work, I'll also use https://github.com/xkbcommon/libxkbcommon/blob/master/tools/interactive-x11.c
All commits are separately compileable and reviewable.
Release Notes: