mardi 14 mai 2013

how bad mouse events are ergonomic papercuts

I tried to use this configuration bit to activate have trackpoint 'wheel' scrolling emulation.

Section "InputDevice"
       Identifier "TPPS/2 IBM TrackPoint"
       Driver     "evdev"
       Option     "Device" "/dev/input/by-path/platform-i8042-serio-1-event-mouse"
       Option     "GrabDevice" "False"
       Option     "EmulateWheel" "true" #Enable wheel emulation for the Trackpoint
       Option     "EmulateWheelButton" "2" #Use the middle button for the emulation
       Option     "XAxisMapping" "6 7" #Map trackpoint X axis to X axis of emulated wheel
       Option     "YAxisMapping" "4 5" #Map trackpoint Y axis to Y axis of emulated wheel
EndSection


I believe it caused some erroneous event duplications. Maybe down and up events being handled as being the same kind. It quickly drives you mad. Files asked to open instead of appended to selection. Boolean buttons doubly toggled in vain. So I backed to this old copy/pasted configuration. 

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option          "SendCoreEvents"        "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection


No frills but it works, and god does it makes you zen.

Aucun commentaire:

Enregistrer un commentaire