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

Last change on this file since 304 was 304, checked in by Sanahuja Guillaume, 6 years ago

add resources

  • Property svn:executable set to *
File size: 366 bytes
Line 
1#! /bin/bash
2ARCH_DIR=$(uname -m)
3
4# $1 is the drone ip
5if [ "$#" -gt 2 ] ; then
6 echo "Usage: $0 drone_ip_address (drone_port, default 20000)"
7 exit 1
8fi
9
10# use default port
11PORT=${2}
12if [ "$#" -eq 1 ] ; then
13 PORT="20000"
14fi
15
16$FLAIR_ROOT/flair-bin/tools/scripts/dualshock3.sh -a ${1}:$PORT -c usb -t 100 -x ${FLAIR_ROOT}/flair-bin/tools/scripts/dualshock3.xml
17
Note: See TracBrowser for help on using the repository browser.