You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
298 B
Bash
8 lines
298 B
Bash
#!/bin/sh
|
|
|
|
for id in `xinput --list|grep 'MX Master 2S'|perl -ne 'while (m/id=(\d+)/g){print "$1\n";}'`; do
|
|
xinput set-prop $id "Device Accel Velocity Scaling" 1
|
|
xinput set-prop $id "Device Accel Constant Deceleration" 0.8
|
|
xinput set-button-map $id 1 2 3 5 4 # "natural" scrolling
|
|
done
|