Skip to content

Instantly share code, notes, and snippets.

Francesco Provino theinfiltrated

Block or report user

Report or block theinfiltrated

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Trackpoint tweaking
dev="DELL081C:00 044E:121F Mouse"
xinput set-prop "$dev" "Device Accel Constant Deceleration" 0.6
xinput set-prop "$dev" "Evdev Wheel Emulation Axes" 6 7 4 5
View List trackpoint properties
xinput list-props "DELL081C:00 044E:121F Mouse"
Device 'DELL081C:00 044E:121F Mouse':
Device Enabled (142): 1
Coordinate Transformation Matrix (144): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (272): 0
Device Accel Constant Deceleration (273): 1.000000
Device Accel Adaptive Deceleration (274): 1.000000
Device Accel Velocity Scaling (275): 12.500000
Device Product ID (268): 1102, 4639
View List devices
xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DELL081C:00 044E:121F Mouse id=13 [slave pointer (2)]
⎜ ↳ DELL081C:00 044E:121F Touchpad id=14 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
View 10-trackpoint.conf
Section "InputClass"
Identifier "Trackpoint Wheel" # A conventional name
MatchIsPointer "on" # This is what identify the pointer among the other input/events
MatchDevicePath "/dev/input/event*"
Option "EmulateWheelButton" "2" # The secon button from the left, of course
Option "EmulateWheel" "on"
Option "EmulateWheelInertia" "23" # The highest, the slower the scrolling
Option "EmulateWheelTimeout" "200"
Driver "evdev" # What we just say about evdev vs libinput
You can’t perform that action at this time.