source: flair-src/trunk/tools/Controller/DualShock3/resources/core2-64/ 467

Last change on this file since 467 was 467, checked in by Sanahuja Guillaume, 2 years ago

change default usb method for ds3, now input event, no need to be root

  • Property svn:executable set to *
File size: 402 bytes
[304]1#! /bin/bash
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
[306]9. ${FLAIR_ROOT}/flair-src/scripts/
[306]11${FLAIR_ROOT}/flair-install/bin/tools/$ARCH_DIR/dualshock3 $*
Note: See TracBrowser for help on using the repository browser.