LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB Gamepad (https://www.linuxquestions.org/questions/linux-hardware-18/usb-gamepad-212574/)

mykrob 08-02-2004 02:04 PM

USB Gamepad
 
Hey-
i have a Nyko AIRFLO usb game controller. Suse 9.1 Pro recognizes it, at least in theory. However, if i go to "Joystick" in YAST to set it up, i can't because it doesnt hook into the sound card, its a USB...

how do i properly configure a USB controller in Linux?

thanks,
-myk

mykrob 08-03-2004 03:51 PM

:bump:

mykrob 08-04-2004 05:26 PM

:bump:

LavaDevil94 08-04-2004 08:03 PM

USB should already be running. Print the output of lsmod.

mykrob 08-06-2004 01:10 PM

USB is working. THe controller actually works, tested it in SNES9X. Problem is, it seems the digital pad isnt working, only the analog stick. I cant get into any type of joystick configuration to troubleshoot any further.. Any ideas?

smokybobo 08-06-2004 01:21 PM

Quote:

Originally posted by mykrob
USB is working. THe controller actually works, tested it in SNES9X. Problem is, it seems the digital pad isnt working, only the analog stick. I cant get into any type of joystick configuration to troubleshoot any further.. Any ideas?
The pad does work, it's just that the D-pad is set as the 5th and 6th axis and some programs don't check that far. For example, I know zsnes doesn't, but xmame does. This is also a problem with some arcade machine emulators under windows.

What I do if I want to reassure myself that my gamepad works is running a program called jstest on the device file representing you pad and then pushing the buttons and moving the sticks and d pad. Any changes in the output will say if it's working properly.

One workaround is to use a utility that maps keyboard presses to whatever on your pad and then configure whatever program to use the keyboard. The one I use that works pretty well is qjoypad.

mykrob 08-12-2004 08:32 PM

thanks. I ran jstest, and it definitely works..
Question - other than killing the console window i ran jstest in, how do i terminate the application?

thanks,
-myk


All times are GMT -5. The time now is 10:08 AM.