Dee-Nee Forums

General => RBI Baseball => Topic started by: fryak on 06/03/04, 11:34:18 PM

Title: FCEU Keyboard assignment
Post by: fryak on 06/03/04, 11:34:18 PM
How do you switch from the W,A,S,Z keys to the arrow keys using FCEU?

Thanks,
Andrew
Title: Re:FCEU Keyboard assignment
Post by: defen on 06/04/04, 07:52:28 AM
You can go to Config/Options/Input, and then pick GamePad1/Configure and it should have a place for you to change all the keys in there.
Title: Re:FCEU Keyboard assignment
Post by: fryak on 06/04/04, 10:15:27 AM
Sorry, I should have been more specific.  I'm not using the GUI so there's no menus like that from the command line.  I see in the documentation:
http://fceultra.sourceforge.net/docs/#using-cli
the -inputcfg x and -input1 x parameters, but there is no indication of how to use them.  Does anyone have any suggestions?

Thanks
Title: Re:FCEU Keyboard assignment
Post by: fryak on 06/05/04, 11:34:19 PM
"Is there no one else" who knows how to do this for linux?
Title: Re:FCEU Keyboard assignment
Post by: nightwulf on 06/06/04, 03:15:31 AM
I wasn't able to find any way to change default keymappings either. The copy I had lying around on my hard drive (0.96) does use the arrow keys, so you may try downloading it if WASD are a problem.

Alternatively, you could recompile fceu. Look for ...

ButtConfig GamePadConfig[4][10]={
       /* Gamepad 1 */
       {
        MK(KP3), MK(KP2), MK(TAB), MK(ENTER), MK(W),MK(Z),
               MK(A), MK(S), MKZ(), MKZ()
       },

in src/drivers/pc/input.c.

Nightwulf
Title: Re:FCEU Keyboard assignment
Post by: UE[TBF] on 06/27/04, 05:25:37 AM
It it a problem for me either
Title: Re:FCEU Keyboard assignment
Post by: Spaniard on 12/29/04, 08:18:18 PM
You can configure it as follows:

fceu -inputcfg gamepad1 romname.nes (it will configure the first gamepad in the system, here it's /dev/js0)

As you can see, you have to load a game at the same time. It will ask you the key assignments. You can also map different devices, whose names are specified in the inputx option:

-inputx str     Select device mapped to virtual input port x(1-2).
                str may be: none, gamepad, zapper, powerpada, powerpadb,
                            arkanoid

I suppose none means keyboard, but I haven't tried it since I'm using a cheap gamepad.
Title: Re:FCEU Keyboard assignment
Post by: ultimate7 on 12/30/04, 08:39:41 AM
Quote from: UE[TBF] on 06/27/04, 05:25:37 AM
It it a problem for me either

The bump made me notice this post, has to be one of the worst posts ever