Roland's homepage

My random knot in the Web

Xinput settings for Kensington Expert Mouse

Detecting possible parameters.

> xinput --list-props 13
Device 'Kensington Kensington Expert Mouse':
    Device Enabled (138):  1
    Coordinate Transformation Matrix (139):        1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000bled (277):      0
    libinput Natural Scrolling Enabled Default (278):      0
    libinput Scroll Methods Available (279):       0, 0, 1
    libinput Scroll Method Enabled (280):  0, 0, 0
    libinput Scroll Method Enabled Default (281):  0, 0, 0
    libinput Button Scrolling Button (282):        2
    libinput Button Scrolling Button Default (283):        2
    libinput Button Scrolling Button Lock Enabled (284):   0
    libinput Button Scrolling Button Lock Enabled Default (285):   0
    libinput Middle Emulation Enabled (286):       0
    libinput Middle Emulation Enabled Default (287):       0
    libinput Accel Speed (288):    0.000000
    libinput Accel Speed Default (289):    0.000000
    libinput Accel Profiles Available (290):       1, 1
    libinput Accel Profile Enabled (291):  1, 0
    libinput Accel Profile Enabled Default (292):  1, 0
    libinput Left Handed Enabled (293):    0
    libinput Left Handed Enabled Default (294):    0
    libinput Send Events Modes Available (262):    1, 0
    libinput Send Events Mode Enabled (263):       0, 0
    libinput Send Events Mode Enabled Default (264):       0, 0
    Device Node (265):     "/dev/input/event7"
    Device Product ID (266):       1149, 4128
    libinput Drag Lock Buttons (295):      <no items>
    libinput Horizontal Scroll Enabled (296):      1

Setting up the accelleration speed.

> xinput set-prop 'Kensington Kensington Expert Mouse' 'libinput Accel Speed' 0.8

alternatively a shorter version.

> xinput set-prop 13 288 0.8

This has been incorporated into the configuration fragment for the Expert Mouse, /usr/local/etc/X11/xorg.conf.d/expert_mouse.conf:

Section "InputClass"
    Identifier      "Kensington"
    MatchDriver     "libinput"
    MatchIsPointer  "On"
    Option          "ButtonMapping" "3 2 1"
    Option          "Emulate3Buttons"   "off"
    Option          "Buttons"       "6"
    Option          "ZAxisMapping"  "4 5"
    Option          "AccelSpeed"    "0.8"
EndSection

For comments, please send me an e-mail.


Related articles


←  Xinput settings for Synaptics TouchPad Building an epub from a single ReStructuredText file  →