Summary: | gpm synps2 4-way-button does not work when four_way_button_is_mouse is FALSE in /etc/gpm/gpm-syn.conf | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pavel Semerad <semerad> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | naz |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | second version of patch - correct handling of 4button+move |
Description
Pavel Semerad
2003-12-30 01:43:49 UTC
Created attachment 23004 [details, diff]
second version of patch - correct handling of 4button+move
I have added correct (I hope) handling of 4_way_button together with moving
finger on touchpad. Code is executing if it is not extended packet.
If there is some pressure (Z), last state of buttons is set (by calling
process_repeating_actions, not by assign). And if pressure is 0 (this is also
send while tapping touchpad and releasing 4_way_button), then last state is
set to GPM_B_NONE and button is correctly released.
I verified the patch applies, can some other people test this out some how? That would be fantastic to verify it on couple of machines instead of just one persons. Has anyone else but me looked at this? Michael Nazaroff have you tried sending this upstream ? No I haven't, but thats a good idea :-) i glanced at the patch and it looks pretty sane, but it'd be better if upstream took it, that way everyone wins :) added to gpm-1.20.1-r4, thanks |