fceux/getSDLKey
punkrockguy318 434c91db38 misc: fixed potential build error in getSDLKey Makefile 2011-10-23 05:24:08 +00:00
..
Makefile misc: fixed potential build error in getSDLKey Makefile 2011-10-23 05:24:08 +00:00
README sdl: added getSDLKey utility to determine the SDL keysym of particular keys on your keyboard. useful for editing fceux.cfg to remap hotkeys until gui is implemented. see README for more details. 2011-10-18 20:49:42 +00:00
getSDLKey.cpp sdl: added getSDLKey utility to determine the SDL keysym of particular keys on your keyboard. useful for editing fceux.cfg to remap hotkeys until gui is implemented. see README for more details. 2011-10-18 20:49:42 +00:00

README

#############################################
# getSDLKey - Lukas Sabota - October, 2011  #
#############################################

1. Dependencies:
  gcc
  make 
  libsdl

2. Installing
Run "make" to compile to "getSDLKey".  Run "make install" as root if you would like to install "getSDLKey" into a user-specified PREFIX.

3. Running
Type "./getSDLKey" while in this directory to run.

4. About this tool.
This is a tool to determine what the SDL keysym for a particular key on your keyboard is.  This is especially useful when mapping hotkeys to FCEUX.  Take a look at an excerpt of ~/.fceux/fceux.cfg:

 SDL.Hotkeys.SaveState = 286

Apparently, F5 on my system is SDL keysym 286.  If you wanted to remap this to a different key, run ./getSDLKey and press the desired key to see what keysym you should modify your configuration with.

5. Bugs
You can report any issues with this tool in the FCEUX SourceForge bugtracker.  Alternatively, you can contact me directly at LTsmooth42 _at_ gmail _dot_ com.

6. Future
I plan to implement a GUI for remapping these keys so you don't have to do this in the future, but we're all very busy people, aren't we?