|
|
|||||||
| Home | Register | Downloads | FAQ | Members List | Calendar | Arcade | Mark Forums Read |
» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Registered User
![]() ![]() Join Date: Feb 2003
Location: City of Angels
Posts: 181
|
i need help setting up my thrustmaster firestorm dual power on VBA. im on Fedora Core 1. i did the command " cat /dev/js0 " and fedora picks up my gamepad. i looked at the " VisualboyAdvance.cfg " : # Key configuration (all numbers are in hexadecimal!) # # Keys values are in the format YXXX where Y is the device number. 0 means # keyborad and XXX is the SDL define for the desired key (read SDL_keysym.h). # # If Y is greater than 0, it means joystick number Y-1 and it uses the # following format for XXX: # # - if XXX < 20, XXX is the axis number multiplied by 2. An even number means # movement to the negative side (on the X axis, it means left). An odd # number means movement to the positive side (on the X axis, it mean # right). For the Y axis, negative means up and positive means down. # X axis is usally axis number 0 and Y is axis number 1. # - if 20 >= XXX > 30, then XXX is the HAT number multiplied by 4 plus the # direction: 0 for up, 1 for down, 2 for right and 3 for left. Example: # 0021 is HAT 0 down, 0026 is HAT 1 right. # - if 80 >= XXX > 100, XXX is the joystick button number (XXX-080). # # Default key configuration is (value in parenthesis): # # Left Left Arrow (0114) # Right Right Arrow (0113) # Up Up Arrow (0111) # Down Down Arrow (0112) # A Z (007a) # B X (0078) # L A (0061) # R S (0073) # Start ENTER (000d) # Select BACKSPACE (0008) # Speed up SPACE (0020) # Capture F12 (0125) # Joy0_Left=0114 Joy0_Right=0113 Joy0_Up=0111 Joy0_Down=0112 Joy0_A=007a Joy0_B=0078 Joy0_L=0061 Joy0_R=0073 Joy0_Start=000d Joy0_Select=0008 Joy0_Speed=0020 Joy0_Capture=0125 # Motion support keys. Same format as above # # Default keys are (value in parenthesis): # # Left Numeric Pad 4 (0104) # Right Numeric Pad 6 (0106) # Up Numeric Pad 8 (0108) # Down Numeric Pad 2 (0102) # Motion_Left=0104 Motion_Right=0106 Motion_Up=0108 Motion_Down=0102 im lost here can someone help me to setup up my gamepad or explain what all of this means. |
|
|
|
| Advertisement | [Remove Advertisement] | ||
|
|
|
#2 |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2001
Posts: 483
|
Use the http://vba.ngemu.com/downloads/SDLTest-Linux.zip to find the values to put in the config file.
|
|
|
|
|
|
#3 |
|
Registered User
![]() ![]() Join Date: Feb 2003
Location: City of Angels
Posts: 181
|
How do i run " SDL-Test " file ? I tried " sh ./SDL-Test" and got " cannot execute binary file ". I tried " ./SDL-Test " and got " Permission denied " Last edited by kof2k; May 6th, 2004 at 08:08.. |
|
|
|
|
|
#4 |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2001
Posts: 483
|
Make sure the file is executable with chmod +x SDL-Test and the run with ./SDL-Test. Then, just press the joystick buttons and it will tell you the value you should put in the config file. |
|
|
|
|
|
#5 |
|
Registered User
![]() ![]() Join Date: Feb 2003
Location: City of Angels
Posts: 181
|
Hey thanx, that command worked. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|