Change rotate.sh to rotate all pointing devices

This commit is contained in:
Adam Goldsmith 2018-01-20 13:11:56 -05:00
parent 53fa7b8f5a
commit 7e5e58e2d3

View File

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
ids=$(xinput --list|grep "SAM\|Digitizer"|grep -oP "id=\K[\w]*") #ids=$(xinput --list|grep "SAM\|Digitizer"|grep -oP "id=\K[\w]*") # gets by name
ids=$(xinput list | grep -oP "^⎜.*id=\K[\w]*" ) # gets all pointing
#ids=( 9 10 11 ) #ids=( 9 10 11 )
transform_matrix="" transform_matrix=""