#!/bin/sh TP="TPPS/2 IBM TrackPoint" xinput set-prop "$TP" "Evdev Wheel Emulation" 1 xinput set-prop "$TP" "Evdev Wheel Emulation Button" 2 xinput set-prop "$TP" "Evdev Wheel Emulation Timeout" 200 xinput set-prop "$TP" "Evdev Wheel Emulation Axes" 6 7 4 5 xinput set-prop "$TP" "Device Accel Profile" 2 xinput set-prop "$TP" "Device Accel Constant Deceleration" 0.8 xinput set-prop "$TP" "Device Accel Adaptive Deceleration" 2.0 xinput set-ptr-feedback "$TP" 0 20 15 # acceleration factor = 20/10