I have my usb Cordless Rumblepad II installed and running in Ubuntu 7.10 Gutsy. Wasn't easy (for me at least), but here's what I needed to do. Install Qjoypad. Forget the jscalibrate and joystick programs for a usb gamepad (from my experience anyway). They may be req'd for non-usb but trying to use them seemed to lead me down a dead end. This qt3-compiled program needed a bunch of stuff installed first through Synaptic though for a successful instl'n. I needed libqt3-mt-dev (has to be the "3" version apparently, as the "4" version is not backwards compatible.) qt3-dev-tools (which will be installed with all of the dependencies from above prog by default. libxtst-dev to take the place of the lXtst requirement. libqt3-mt and libaudio2. Also g++ is req'd. With the qt3 during the compiling, etc process the make command will use qmake instead (Somewhere there should be a simple howto for this, but I'm d***ed, if I could find anything out there to easily explain this stuff to someone, who has never done this before. Once the configure and qmake procedures are done, "sudo" will need to be used to do the make install step. I installed the 386 source code version. I used Doom3 from
http://zerowing.idsoftware.com/linux/ for the test game to set everything up for my gamepad. I'm running the i486 version of Gutsy Ubuntu and the by-default-installed 386 libraries will let you run Doom3 on the 486 version of linux. It needs the 5 pak files copied in from the store-bought ******* Doom3 game cd's (copied into the doom3/base/ directory) and then lastly the software key entered to work. Once qjoypad3 has been configured for the Doom3 game buttons, mouse movements, etc the game can be played I had to do this by working out the codes for my keybd keys and manually editing the hidden /home/usrname/.qjoypad3/doom3.lyt file, which I had set up, because for some reason qjoypad wouldn't recognize keybd clicks from my MS keybd. Before starting Doom3 I had to start qjoypad with the command qjoypad --device /dev/input (in order for qjoypad to find my usb gamepad, which shows up as js0 in the /dev/input directory.) If you want to know if your js0 gamepad actually works by the way, from terminal enter cat /dev/input/js0 and then press some buttons on your gamepad. If odd characters show up in the cat'ed /dev/input/js0 file as you press buttons, then Ubuntu is recognizing the presence of your usb gamepad. Thanks to Nate from the qjoypad team for the aforementioned tip. Hope this explanation helps someone, who was having the same problems as I was. If there's anything wrong here in my description, please feel free to correct.
Bookmarks