Usb Joystick Problem


error32

Still Fresh
Joined
Mar 14, 2007
Messages
14
I connected an usb joypad to the BoB, and picodrive recognizes it. But when I want to configure picodrive to use the joypad to play it seems it cannot correctly read the joystick states because I cannot configure the up or left positions to match those on my joypad. It seems this is not because of a broken joypad because it works fine on my gentoo linux amd64 box.
Is there a problem in the way the gp2x handles joysticks or joypads?
The joypad is identified as a "SIGHT FIGHTER ACTION USB" in dmesg on my amd64 and in picodrive on the gp2x.
Anybody got a clue what this problem is about?
 
i just ran through the same thing,
when i configured my controller and ran a game all of my controls were reset
so i went back into the menu(with the rom loaded) and did the controller config once more, now im playing sonic......
 
Well I can't even set my controls, so I cannot test your solution.
But thanks for your time :)
 
error32 said:
Well I can't even set my controls, so I cannot test your solution.
But thanks for your time :)
Have you tried with a different USB port? Someone said that the first port is weird for USB sticks
 
Last edited by a moderator:
sething said:
when i configured my controller and ran a game all of my controls were reset
You have to do "save config as default" in options menu or it will forget your settings on next ROM load.

error32 said:
I tried all 4 usb ports, but it does not seem to make any difference :(
The joydev driver, included with GP2X seems to be a bit buggy, so it might not work with some pads..
 
Last edited by a moderator:
Ah I see, is there perhapse any patched joydev module?
Or is it sensible to try and compile a modified kernel module myself?
 
error32 said:
Ah I see, is there perhapse any patched joydev module?
Haven't seen any.

error32 said:
Or is it sensible to try and compile a modified kernel module myself?
I doubt only recompiling will help, it probably needs some patching. But if you want to try, you can find some info in the wiki.

I have built a little test app here, what values does it print above "btns" text?
 
Last edited by a moderator:
it appears both down and right positions are constantly 'pressed' (both axis are constantly at the 32xxx value)
 
Back
Top