WOW thats seriously epic, im going to try this out right now! A setp by step guide would be so useful for us newbies.tba wrote:Hej,
I got a Xbox 360 Wireless Pad working yesterday without too much effort with xboxdrv (http://pingus.seul.org/~grumbel/xboxdrv/), raspbmc RC3 (http://www.raspbmc.com/) and a USB-Hub.
Just download the source code and follow the, for a change understandable, instructions in the readme to compile. I will probably post a step by step "guide" tomorrow.
I had no time to test it with any program, but got controller output for all axes and buttons in the terminal.
I don't really know what I'm doing but this covers it somehow. I try to compile, it puts out some "xyz is missing" error messages than I search for the package and install it.trying to compile, but cannot apt-get libboost 1.42, what do i do
I fixed that with apt-get install libboost
I compiled on the pi what took quite some time.Ive assumed you are compiling on a Linux machine then running the xboxdrv on the Pi?
They where build for "normal" Desktop Ubuntu, not for the ARM architecture the pi has and therefore shouldn't work.Also why not use the binary he provides on the site?
Code: Select all
sudo su
apt-get install \
g++ \
libboost1.42-dev \
scons \
pkg-config \
libusb-1.0-0-dev \
git-core \
libx11-dev \
libudev-dev \
x11proto-core-dev \
libdbus-glib-1-dev
mkdir xbox
Code: Select all
cd xbox
scons
./xboxdrv
Code: Select all
#!/bin/bash
/home/pi/xbox/xboxdrv --config /home/pi/xbox/mapping --silent
Code: Select all
[xboxdrv]
silent=true
deadzone=6000
dpad-as-button=true
trigger-as-button=true
[ui-axismap]
x2=REL_X:10
y2=REL_Y:-10
x1=KEY_A:KEY_D
y1=KEY_W:KEY_S
[ui-buttonmap]
a=KEY_LEFTSHIFT
b=BTN_C
x=BTN_EXTRA
y=KEY_C
[ui-buttonmap]
lb=BTN_RIGHT
rb=KEY_SPACE
[ui-buttonmap]
lt=KEY_Z
rt=BTN_LEFT
[ui-buttonmap]
dl=KEY_4
dr=KEY_2
du=REL_WHEEL:-1:150
dd=REL_WHEEL:1:150
[ui-buttonmap]
back=KEY_TAB
start=KEY_ESC
# EOF #