Release Xbox360 Pad Driver (as a PND)


ekianjo

Hardcore Member
Joined
May 7, 2012
Messages
8,261
Location
神戸市、日本 (Japan)
It was not so much work but here it is finally - it should be easier for most people to enjoy this feature now:

http://repo.openpandora.org/?page=detail&app=xboxdriver

pic0s.png


The point of this PND is to make it possible to play a number of Pandora games in a comfortable way, while having the Pandora connected to a TV screen.

Before running this script you need to do the following in a terminal, while connected to the internet:
- sudo opkg update
- sudo opkg install libusb-0.1
You only need to do the above once.

Next, start the PND and follow the on-screen instructions.

Many thanks to Xnopasaranx on the Pandora boards for his precious help on getting this to work!

Once connected the Left Stick acts as a mouse and the rest is mapped as such:

- Back: ESC
- Start: ENTER
- 4 face buttons: like the Pandora buttons
- Left trigger: left mouse click
- Right trigger: right mouse click
- Left Shoulder: Left shoulder
- Right Shoulder: Right shoulder
- Dpad: as Dpad

I will provide other setups in future versions to make it more flexible. In the meantime, try it out and let me know how it works for you.
 
Last edited by a moderator:
Great work, I'll hope I can make use of that as soon as I have a up and running Pandora again. Two questions though:

- wrong subforum ?

- I guess this does only work with the 360's pad, not the xbones ?
 
Not tried it yet, but would it not be possible to change your boot script to be something like


if [ -f /etc/drivers/or/something/lubusb-0.1 ]
gksudo getlubsub.sh
fi
(disclaimer: my shell script example is probably horribly wrong)
and have another script with the two opkg commands?

Just means if you have to reflash, you can get your PND working without having to "remember" to install lubusb
 
Just means if you have to reflash, you can get your PND working without having to "remember" to install lubusb
Yeah, sure, I could add that later but I'm looking for a more elegant way to do this.

- wrong subforum ?
You are right, I hope a mod can change that :)

- I guess this does only work with the 360's pad, not the xbones ?
Correct. At this point at least.
 
Hmm, could one of the buttons be mapped to the Pandora button? That way I could navigate XFCE's menu with the 360 pad without having to move the pointer to the bottom left.

D.
 
This is sooo exciting. Thanks so much for making this :D

one thing though, when I try to install the libusb package i get this error:

Pandora:~$ sudo opkg update
Downloading http://openpandora.org/feeds/unstable/all/Packages.gz.
Inflating http://openpandora.org/feeds/unstable/all/Packages.gz.
Updated list of available packages in /var/lib/opkg/pandora-all.
Downloading http://openpandora.org/feeds/unstable/armv7a/Packages.gz.
Inflating http://openpandora.org/feeds/unstable/armv7a/Packages.gz.
Updated list of available packages in /var/lib/opkg/pandora-armv7a.
Downloading http://openpandora.org/feeds/unstable/omap3-pandora/Packages.gz.
Inflating http://openpandora.org/feeds/unstable/omap3-pandora/Packages.gz.
Updated list of available packages in /var/lib/opkg/pandora-omap3-pandora.
Pandora:~$ sudo opkg install libusb-0.1
Unknown package 'libusb-0.1'.
Collected errors:
 * opkg_install_cmd: Cannot install package libusb-0.1.
 
any tips would be greatly appreciated :)

EDIT  I know so little about linux, but i searched the text files in that update and saw a reference to libusb-0.1-dbg

so i tried to install that file name and it looks like it did ... something

good idea or bad idea?

Edit2 Im not getting the green light to light up on my dongle, i hope thats because i didnt install the right package rather than my usb port being broken.

oops missed the reference to needing a usb hub. my mistake :)

WooHoo it works! Thanks for making this!
 
Last edited by a moderator:
EDIT  I know so little about linux, but i searched the text files in that update and saw a reference to libusb-0.1-dbg so i tried to install that file name and it looks like it did ... something good idea or bad idea?
Thanks for reporting your issues!

Just wondering, are you on 1.71 firmware or a less recent one ? I have only tried my instructions on the 1.71 firmware so I am not sure if it would work on older ones.

Anyway I'm glad it worked for you in the end :)  
 
Hmm, could one of the buttons be mapped to the Pandora button? That way I could navigate XFCE's menu with the 360 pad without having to move the pointer to the bottom left.
 Should be possible, what is the keycode for Pandora's button ?
No idea, I can't use it in PandaBAS as the OS has it bound for special purposes!

D.
 
Back
Top