Solution for 1430:f801 RedOctane under Raspberry PI

Firmware/software/electronics/mechanics
Post Reply
xwings
Beginner
Posts: 1
Joined: Sat Aug 10, 2013 10:49 am

Solution for 1430:f801 RedOctane under Raspberry PI

Post by xwings »

Raspberry Pi + xbox controller + crazyflie

For those with 1430:f801 RedOctane, xboxdrv did not work due to xboxdrv does not comes with the specific USB id.

To make it work, edit /root/bin/xbox360

Code: Select all


$ cat /root/bin/xbox360

#!/bin/sh
if test "$ACTION" = "add"
then
/usr/bin/xboxdrv --device-by-id 1430:f801 --type xbox360 --axismap X2=X1,Y2=Y1,X1=X2,Y1=Y2 &
else
killall -9 xboxdrv
fi
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Solution for 1430:f801 RedOctane under Raspberry PI

Post by marcus »

Hi,

Thanks for the tip. I've added it to the wiki page for the Raspberry Pi image.
Post Reply