-
-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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
fix: mousekey doesn't work with trackpoint #18474
Conversation
f5a7c42
to
07c00f7
Compare
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Nick Brassel <nick@tzarc.org>
This reverts the behavior that adding this function as is sought to fix, in the first place. I'm guessing that this is for the ps2 trackpoint, correct? |
@drashna Not really, I figured the |
@drashna I've updated the code to handle the |
buttons are sent immediately usually, while motion isn't. Also, originally, the code was: |
@drashna Thanks for the quick response, I read the code, and found out:
|
tp_buttons gets sent by Honestly, I'd like to integrate the ps2 code into the pointing device drivers, as this would reduce the number of edge cases like this. |
Thinking about this, and some other code, I may have a more workable long term solution. |
This is great, I'm hesitating to work on a better solution since I don't know anything about the pointing device, nor do I have the device to test it out. Not to mention that I'm no expert on c language. I would like to help if you need it, please let me know. You know, helping you to help myself 😃. |
c0298d7
to
172b37e
Compare
@drashna The error reported by the |
QMK CI Build error is unrelated to the code change here. So you can ignore it. |
Hi, @tzarc , would you mind taking another look at this PR? thanks. |
I have the same problem with my trackpoint using PS2 streaming mode. I can confirm that the changes in this PR fixes the problem for me as well. |
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Description
Related to #18277, I'm using cantor with trackpoint, so the mouse buttons are essential for, but they didn't seem to function correctly.
After some digging, I managed to solve the problem, and now the trackpoint and mousekeys are working perfectly for me. Might as well fix it for everyone.
Let me know if I missed anything. Thanks.
Types of Changes
Issues Fixed or Closed by This PR
Checklist