Getting Human Interface Device (gamepad) to work


Forum: Other Help Topics
Topic: Getting Human Interface Device (gamepad) to work
started by: velmeran42

Posted by velmeran42 on June 20 2006,05:15
So I just soldered up an NES Max Gamepad to a Retrokit (http://www.retrousb.com/nintendo.html). It detects and functions well under Windows XP on my main computer system, but I'm not sure how to make it work under DSL on my laptop. I tried searching around a little here and there, and all the sites I can find just say that HID devices should detect magically and work under Linux. Can someone point me to a better resource, or simply tell me how to make the thing work? I'm mostly interested in making it work in conjunction with Tuxnes. Thanks.
Posted by velmeran42 on July 15 2006,15:22
Bump..... I haven't had much time to look for more documentation between moving and a new job, but I still haven't gotten the thing to work. I'd really like to get it working soon for a trip I'm taking. Thanks for any help you can give.
Posted by brianw on July 15 2006,16:16
Here is a thread:

< http://damnsmalllinux.org/cgi-bin....oystick >

that points to this wiki for advice.

< http://damnsmalllinux.org/wiki/index.php/Enable_Joypad_Support >

To get my usb gamepad working I did

sudo modprobe joydev

I used apt-get to install diagnostic and alignment tools just to have them installed.

Posted by velmeran42 on July 15 2006,17:52
Thanks for the info, my NES gamepad is now up and running happily. (That was really simple, guess it doesn't matter that it's a HID device). Anyhow, now my little 233Mhz laptop is a more or less perfect NES emulator (that and all the productive things it can do to).
Posted by velmeran42 on July 15 2006,23:33
Everything is now working great. For anyone else who decides to try to use a Retrozone USB Gamepad (http://www.retrousb.com/nintendo.html) with GTuxNES.....

I opted to add the insmod joydev line to /opt/bootlocal.sh
Then I used jstest to figure out what the buttons on the pad where...
Then I mucked with the remap joystick field to determine what needed to go where...
The proper configuration is 1:B1,B0,B3,B2,B8,B10,B11,B9

Just figured I should share my results, in case anyone else was needing assistance on the same thing.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.