News:

RIP GoReds

Main Menu

FCEU Keyboard assignment

Started by fryak, 06/03/04, 11:34:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fryak

How do you switch from the W,A,S,Z keys to the arrow keys using FCEU?

Thanks,
Andrew

defen

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.
I ain't no god damn son of a bitch
You better think about it baby

fryak

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

fryak

"Is there no one else" who knows how to do this for linux?

nightwulf

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

UE[TBF]

It it a problem for me either

Spaniard

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.

ultimate7

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
Quote from: DÄrky on 11/02/10, 12:04:50 AM
The Raiders are a successful organization