Changeset 82 in flair-bin for trunk/tools/scripts/dualshock3.sh
- Timestamp:
- Jan 8, 2019, 5:45:01 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/scripts/dualshock3.sh
r66 r82 3 3 4 4 #on kernel >=4.13, ds3 is seen as a mouse 5 /usr/bin/xinput set-prop 'Sony PLAYSTATION(R)3 Controller' 'Device Enabled' 0 5 #search every ds3 connected and disable them 6 for id in `xinput --list|grep 'Sony PLAYSTATION(R)3 Controller'|perl -ne 'while (m/id=(\d+)/g){print "$1\n";}'`; do 7 xinput set-prop $id 'Device Enabled' 0 8 done 6 9 7 10 #This script is the only one that calls itself with sudo.
Note:
See TracChangeset
for help on using the changeset viewer.