7 lines
294 B
Plaintext
7 lines
294 B
Plaintext
|
#! /bin/sh
|
||
|
for id in $(xinput --list |grep 'Razer Razer Naga Hex .* pointer'|sed 's/.*id=\([0-9]*\).*/\1/')
|
||
|
do
|
||
|
#echo "setting device ID $id"
|
||
|
xinput --set-prop $id 'Coordinate Transformation Matrix' 0.500000, 0.000000, 0.000000, 0.000000, 0.500000, 0.000000, 0.000000, 0.000000, 1.000000
|
||
|
done
|