Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here
Sign in to follow this  

Configuring Visual boy advance

Recommended Posts

I really would like to be able to use my joystick instead of the keyboard for this. How do I go about it? I have typed --help and cannot see any option for joystick configuration. :(

Share this post

Link to post
Share on other sites

First, check whether the joystick is working in linux. There are few utilities to do so. One that is related to Visualboy advance is the SDL configurator from the download section in Visualboy Advance homepage ( http://vboy.emuhq.com/downloads.shtml ) If you run the program in a console and move your joystick you should see a bunch of numbers. Now create a VisualBoyAdvance.cfg file in your user directory (/home/user). Put the number from the SDL configurator into the joystick direction in which you press the button/keypad.


Anyway, here is my VisualBoyAdvance.cfg file if you need a bit of a reference.

# All numeric values are in hexadecimal


# 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	1000

Joy0_Right	1001

Joy0_Up  1002

Joy0_Down	1003

Joy0_A  1082

Joy0_B  1081

Joy0_L  1084

Joy0_R  1085

Joy0_Start	1089

Joy0_Select	1088

Joy0_Speed	1086

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	1000

Motion_Right	1001

Motion_Up	1002

Motion_Down	1003

# Frame skip setting. Allowed values are from 0 to 5 only.

frameSkip     0

# Gameboy Frame skip setting. Allowed values are from 0 to 5 only.

gbFrameSkip	0

# Video setting. 0=1x, 1=2x, 2=3x, 3=4x.

video  3

# Use fullscreen mode. 0=false, any other value means true

fullScreen     0

# Disables MMX support

disableMMX	1

# Use bios file. 0=false, any other value means true

useBios  0

# Bios file full path and name (ZIP not supported)

biosFile	none

# Filter to use. 0=no filter, 1=TV Mode, 2=2xSaI, 3=Super 2xSaI, 4=Super Eagle

# 5=Pixelate, 6=Motion Blur

filter     3

# Disable status messages. 0=false, any other value means true

disableStatus	0

# Enable Gameboy border. 0=false, any other value means true

borderOn	0

# Gameboy emulator type. 0=automatic, 1=CGB/GBC, 2=SGB, 3=GB, 4=GBA

emulatorType	0

# Enable washed colors. 0=false, any other value means true

colorOption	1

# Directories. Not setting one them makes the file go the rom directory.

# Save state directory


# Screen shot Capture directory


# Battery directory


# Screen capture format

# 0=PNG, anything else for BMP

captureFormat   0

# Sound quality

# 1=44 Khz, 2=22Khz, 4=11Khz

soundQuality	1

# Sound Echo

# 0=false, anything else for true

soundEcho	0

# Sound Low pass filter

# 0=false, anything else for true

soundLowPass	0

# Sound reverse stereo

# 0=false, anything else for true

soundReverse	0

# Remove GBA intros

# 0=false, anything else for true

removeIntros	0

Share this post

Link to post
Share on other sites
Guest Revolver

Why use Gnu Linux... if you continue to use windows soft???!!!!!



I have the same problem a time ago and with the help of dragon mage i was able to put it working until now with no problems..vba for gnu linux ofcourse:)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this