LinHES Forums http://forum.linhes.org/ |
|
changing FCEU's key mappings: howto http://forum.linhes.org/viewtopic.php?f=5&t=1846 |
Page 1 of 1 |
Author: | newsdee [ Sat Jun 26, 2004 9:20 am ] |
Post subject: | changing FCEU's key mappings: howto |
Here's what worked for me, hopefully it will help others... I looked everywhere (docs, forums, source) and I only found two ways of reconfiguring the controls for FCE Ultra: plugging an USB gamepad and running it with the "-inputcfg gamepad1" option, or modifying the source code. I'm using the latest FCE 0.98.10. I found a file where the Unix gamepad defaults are set: Code: [FCEU_SRC_DIR]/src/drivers/pc/input.c I tried to change the values to the Hotrod defaults (i.e. movement by keypad, left ctrl and alt, etc), and the compiler accepted the values I gave to it (it complains and stops making the bin when I use the wrong codes). However, in spite of the recompilation, the keys remained the same when I ran the emu. I looked around, and found a couple of old config files in /home/mythtv/.fceulta, so I renamed them. And as I suspected, one was recreated from scratch (in other words it was using the old config).
Now it works, but I have a small conflict using the Hotrod... the "1" key, used for "1P start" in the joystick, also selects the "save state1" in the emu. Minor, but annoying. Anyway... this is the best I could get out of it... ![]() |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |