-
Notifications
You must be signed in to change notification settings - Fork 41
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
Ignore all clicks or specific buttons #40
Comments
Sure, we can add a |
I could but probably won't have time to anytime soon. Do you mean that the argument would be optional and would default to |
I'm not in a rush. :-)
I forgot about |
@chelovechishko Thanks! This works for me for buttons 1-5, but it doesn't work for buttons on my trackpad that I've changed to be buttons 50 and 51. |
@noctuid Those are some high numbers… :-) Does |
It looks like it just ignores my changes (e.g. using |
Maybe in this case (trackpad) it's not a |
They are physical buttons right above the actual trackpad. It's the trackpoint buttons on a thinkpad (labeled as "TPPS/2 IBM TrackPoint"). I have the same issue with the buttons below the trackpad. |
(If i understand correctly, of course)
which can change the state of cursor. |
It could be that the raw event doesn't consider this kind of mapping. Not sure what to do against that — we need to use raw events as button grabbing interferes with applications. |
The same thing happens for external mice. It sounds like it's because the raw event is being used. |
So first things first, could you please open a new issue for this so we can move the discussion there? Secondly, would be great if you could check whether a raw event is sent at all and we just "filter it out" or whether there is no such event by adding some printf or something. |
I have buttons that I am using as keys, and it would be nice to be able to either have clicks not unhide the cursor or to be able to ignore clicks for specific buttons (not just buttons 4 and 5).
The text was updated successfully, but these errors were encountered: