Emuforums.com

Go Back   Emuforums.com > Handheld Emulation > Nintendo Handhelds > Visualboy Advance Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old May 5th, 2004, 16:23   #1
kof2k
Registered User
 
kof2k's Avatar
 
Join Date: Feb 2003
Location: City of Angels
Posts: 181
Question gamepad setup ?

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.
kof2k is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old May 6th, 2004, 01:55   #2
Forgotten
Emu author
 
Forgotten's Avatar
 
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.
Forgotten is offline   Reply With Quote
Old May 6th, 2004, 07:38   #3
kof2k
Registered User
 
kof2k's Avatar
 
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..
kof2k is offline   Reply With Quote
Old May 6th, 2004, 11:55   #4
Forgotten
Emu author
 
Forgotten's Avatar
 
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.
Forgotten is offline   Reply With Quote
Old May 6th, 2004, 15:48   #5
kof2k
Registered User
 
kof2k's Avatar
 
Join Date: Feb 2003
Location: City of Angels
Posts: 181
Hey thanx, that command worked.
kof2k is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 09:14.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.