Skip to content
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

fixes scrolling with trackpoint #62

Closed
wants to merge 1 commit into from
Closed

Conversation

toniz4
Copy link

@toniz4 toniz4 commented Sep 25, 2020

By scrolling "harder" with my thinkpad x230 trackpoint, using libinput drivers, it will report a button 6 event. Possibly is a bug with libinput, when i was using the synaptics drivers in arch i don't remember having this problem. example xev output:


ButtonRelease event, serial 32, synthetic NO, window 0x2000001,
    root 0x139, subw 0x0, time 15265257, (82,90), root:(673,382),
    state 0x800, button 4, same_screen YES

ButtonPress event, serial 32, synthetic NO, window 0x2000001,
    root 0x139, subw 0x0, time 15265257, (82,90), root:(673,382),
    state 0x0, button 4, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x2000001,
    root 0x139, subw 0x0, time 15265257, (82,90), root:(673,382),
    state 0x800, button 4, same_screen YES

ButtonPress event, serial 32, synthetic NO, window 0x2000001,
    root 0x139, subw 0x0, time 15265282, (82,90), root:(673,382),
    state 0x0, button 6, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x2000001,
    root 0x139, subw 0x0, time 15265282, (82,90), root:(673,382),
    state 0x0, button 6, same_screen YES

ButtonPress event, serial 32, synthetic NO, window 0x2000001,
    root 0x139, subw 0x0, time 15265282, (82,90), root:(673,382),
    state 0x0, button 4, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x2000001,
    root 0x139, subw 0x0, time 15265282, (82,90), root:(673,382),
    state 0x800, button 4, same_screen YES

ButtonPress event, serial 32, synthetic NO, window 0x2000001,
    root 0x139, subw 0x0, time 15265282, (82,90), root:(673,382),
    state 0x0, button 4, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x2000001,
    root 0x139, subw 0x0, time 15265282, (82,90), root:(673,382),
    state 0x800, button 4, same_screen YES

the button 6 events comes when i'm scrolling faster.
fixes #58

@Airblader
Copy link
Owner

Thanks for the PR. However, this sounds like a bandaid fix. Button 6 is not a scrolling event, so I think you should rather file a bug with libinput for this. I don't think I'm willing to merge this since it's factually just not correct.

@toniz4
Copy link
Author

toniz4 commented Sep 25, 2020

Understandable, you might need to add xsltproc to the travis installed packages so the build will not fail

@toniz4 toniz4 closed this Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--ignore-scrolling does not work with gentoo
2 participants