Last change
on this file was 82, checked in by Sanahuja Guillaume, 6 years ago |
support for multiple ds3 in usb
|
-
Property svn:executable
set to
*
|
File size:
366 bytes
|
Rev | Line | |
---|
[15] | 1 | #! /bin/bash
|
---|
| 2 | ARCH_DIR=$(uname -m)
|
---|
| 3 |
|
---|
| 4 | # $1 is the drone ip
|
---|
[82] | 5 | if [ "$#" -gt 2 ] ; then
|
---|
| 6 | echo "Usage: $0 drone_ip_address (drone_port, default 20000)"
|
---|
[15] | 7 | exit 1
|
---|
| 8 | fi
|
---|
| 9 |
|
---|
[82] | 10 | # use default port
|
---|
| 11 | PORT=${2}
|
---|
| 12 | if [ "$#" -eq 1 ] ; then
|
---|
| 13 | PORT="20000"
|
---|
| 14 | fi
|
---|
[15] | 15 |
|
---|
[82] | 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.