Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: VisualBoyAdvance Keyboard Codes  (Read 4460 times)

0 Members and 1 Guest are viewing this topic.

Zapper

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 208
  • Last login:October 07, 2006, 10:26:01 pm
  • The enemy's gate is down
VisualBoyAdvance Keyboard Codes
« on: January 15, 2004, 02:50:01 am »
I'm looking for a chart with hexadecimal keyboard codes so I can remap the controls in VisualBoyAdvance-SDL commandline version. So far everything I've found from searching the net doesn't seem right. I want to use a little different key set than Stuzza's MAME keys version.

I'm planning to use a combination of the following keys:

A, B, C, X, Y, Z, Left Alt, Left Shift, Left Control, Space
"Three warps to the Bugger homeworld"

stuzza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 499
  • Last login:May 13, 2025, 09:19:19 pm
  • I'm a llama!
    • ScreenshotArchive
Re:VisualBoyAdvance Keyboard Codes
« Reply #1 on: January 15, 2004, 03:19:47 am »
You need to download the SDL Configurator for the SDL version of VisualBoy Advance from the VBA website. The file you need is "SDLTest-Win32.zip" I think?

This has an exe that you run which will give you the values for any key pressed which you can then enter into the VisualBoyAdvance.cfg file.

The VBA site seems to be down at the moment?  i still have the SDLTest program on my Hard Drive and according to me, the keycodes you need are:

A = 0061
B = 0062
C = 0063
X = 0078
Y = 0079
Z = 007a
Left Alt = 0134
Left Shift = 0130
Left Control = 0132
Space = 0020

If you need the program, pm me and I'll send it to you.

arcadecab

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 268
  • Last login:September 26, 2007, 06:17:06 pm
Re:VisualBoyAdvance Keyboard Codes
« Reply #2 on: January 15, 2004, 10:31:57 am »
I just came across this situation last night.  I am looking to map the keys to my gamepad with VisualboyAdvance-SDL version from Stuzza's site, and I do not know how to do it.  Since it is commandline, there is no gui like the other emulators that has input selection or otherwise as an option.  Is the download you mentioned needed to map the keys to my gamepad or what else can I do?
Thanks.

BTW, Stuzza--I am also trying to get MekaW to remap keys for my gamepad.  I should be able to just click on the key in the configuation menu for Joystick 1 with gamepad selected, but it will not allow me.  Any tips on how to get MekaW to recognize the keys to the gamepad that I use.  
Thanks.

stuzza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 499
  • Last login:May 13, 2025, 09:19:19 pm
  • I'm a llama!
    • ScreenshotArchive
Re:VisualBoyAdvance Keyboard Codes
« Reply #3 on: January 15, 2004, 05:52:10 pm »
I just came across this situation last night.  I am looking to map the keys to my gamepad with VisualboyAdvance-SDL version from Stuzza's site, and I do not know how to do it.  Since it is commandline, there is no gui like the other emulators that has input selection or otherwise as an option.  Is the download you mentioned needed to map the keys to my gamepad or what else can I do?
Thanks.

BTW, Stuzza--I am also trying to get MekaW to remap keys for my gamepad.  I should be able to just click on the key in the configuation menu for Joystick 1 with gamepad selected, but it will not allow me.  Any tips on how to get MekaW to recognize the keys to the gamepad that I use.  
Thanks.

If you have no luck setting it up with the gamepad directly, perhaps you could try the JoyToKey program.  Both of the above emulators map fine to keyboard keys, so if you use JoyToKey, you might have more luck.  I havn't used JoyToKey myself, but from what I've heard it is pretty straight forward to use.

Zapper

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 208
  • Last login:October 07, 2006, 10:26:01 pm
  • The enemy's gate is down
Re:VisualBoyAdvance Keyboard Codes
« Reply #4 on: January 15, 2004, 08:32:33 pm »
Those codes work great. Thanks stuzza ;D
"Three warps to the Bugger homeworld"