Picade hat button mappings


#1

Hello.

In Retropie there is an option to install the game super crate box but I can’t find a way to remap the controls. I looked on the picade hat github and found the following code

KEYS = {
ENTER: e.KEY_ENTER,
ESCAPE: e.KEY_ESC,
COIN: e.KEY_C,
START: e.KEY_S,
UP: e.KEY_UP,
DOWN: e.KEY_DOWN,
LEFT: e.KEY_LEFT,
RIGHT: e.KEY_RIGHT,
BUTTON1: e.KEY_LEFTCTRL,
BUTTON2: e.KEY_LEFTALT,
BUTTON3: e.KEY_SPACE,
BUTTON4: e.KEY_LEFTSHIFT,
BUTTON5: e.KEY_Z,
BUTTON6: e.KEY_X
}

If I remap these buttons to suit super crate box, will it kill other emulators or functions? Or is there a better way todo it?


#2

well, yes, changing the keycodes will affect all retroarch/libretto based emulators. There is usually a way to map control for a specific emulator, perhaps even just for that rom, so I’d check the documentation for that particular emulator or google it up.