source: flair-src/trunk/tools/Controller/DualShock3/resources/core2-64/dualshock3.sh@ 469

Last change on this file since 469 was 469, checked in by Sanahuja Guillaume, 11 months ago

change all scripts to remove call to distribution_specific_hack, which is no longer necessary

  • Property svn:executable set to *
File size: 345 bytes
Line 
1#! /bin/bash
2ARCH_DIR=core2-64
3#on kernel >=4.13, ds3 is seen as a mouse
4#search every ds3 connected and disable them
5for id in `xinput --list|grep 'Sony PLAYSTATION(R)3 Controller'|perl -ne 'while (m/id=(\d+)/g){print "$1\n";}'`; do
6 xinput set-prop $id 'Device Enabled' 0
7done
8
9${FLAIR_ROOT}/flair-install/bin/tools/$ARCH_DIR/dualshock3 $*
Note: See TracBrowser for help on using the repository browser.