Created
December 24, 2016 15:34
-
-
Save olejorgenb/ffaa200e2277908aa5be583af429043c to your computer and use it in GitHub Desktop.
Thinkpad trackpoint configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# | |
### Thinkpad x220 config | |
xinput disable "SynPS/2 Synaptics TouchPad" | |
# Doc: https://www.x.org/wiki/Development/Documentation/PointerAcceleration/ | |
TP="TPPS/2 IBM TrackPoint" | |
xinput set-prop $TP "Device Accel Profile" 2 | |
xinput set-prop $TP "Device Accel Constant Deceleration" 0.7 | |
xinput set-prop $TP "Device Accel Adaptive Deceleration" 2.0 | |
xinput set-ptr-feedback $TP 0 20 10 # acceleration factor = 20/10 | |
## More knobs (trackpoint specific) in: | |
# /sys/devices/platform/i8042/serio1/serio2 | |
## and documentation: | |
# http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint#Sysfs_Options_Reference | |
# ~/doc/device-manuals-and-drivers/trackpoint-thinkpad-Ykt3Eext.pdf | |
# http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/input/mouse/trackpoint.h?id=HEAD | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment