|
Similar Problem.
I seem to be having a similar problem, though in a much different situation, and I was hoping I could get some advice.
Some system information:
Linux debian 2.6.7-custom-k7 #1 Sat Jul 3 15:13:58 PDT 2004 i686 GNU/Linux
VisualBoyAdvance version 1.7.2 [SDL] (from Debian unstable Packages)
libsdl1.2debian
1.4 GHz Processor, 256MB of RAM, excessive HD Space.
I'm using a USB HID compliant Joystick under Linux, and while I can configure all the other buttons, the directional buttons and the joysticks for the device (a PSX controller) don't seem to function. I don't have a GUI menu system for VBA, but I can edit '/etc/VisualBoyAdvance.cfg', which has allowed me to set all of my other buttons correctly. Here is the relevant exceprt from the cfg file. Again, all of this works except for the directionals. This device functions fine with other programs that utilize joysticks.
Joy0_Left=1000
Joy0_Right=1001
Joy0_Up=1002
Joy0_Down=1003
Joy0_A=1082
Joy0_B=1081
Joy0_L=1086
Joy0_R=1087
Joy0_Start=1088
Joy0_Select=1089
Joy0_Speed=1085
Joy0_Capture=1084
Motion_Left=1001
Motion_Right=1002
Motion_Up=1003
Motion_Down=1004
When I rnu 'SDL-Test', I get the following codes.
For the X-Axis on the directional pad (both Left AND Right return the same value):
JOY AXIS code: 1000
For the Y-Axis on the directional pad (both Up AND Down return the same value):
JOY AXIS code: 1002
The comments in the VisualBoyAdvance.cfg file are not entirely clear what I'm supposed to do with these values. The way they describe it seems as though the values ought to be different in each direction, but I'm not certain.
Any suggestions?
Last edited by Jesiah; October 17th, 2004 at 21:04.
|