diff options
author | Adrien Plazas <kekun.plazas@laposte.net> | 2020-12-12 09:48:29 +0100 |
---|---|---|
committer | twinaphex <libretro@gmail.com> | 2021-03-12 08:42:23 +0100 |
commit | 581e0487b10594eab95a1a42597e6a382c8cfca1 (patch) | |
tree | b903f753a3bbda7d9569301501ba38bf1baa09c4 /libblastem.c | |
parent | 52527aaf629181d5e595c4d13f9e5b5cb9e78ffc (diff) |
Give a saner default button layout
This gives a saner default layout for 99% of games as nobody wants to
jump with the R button. This is also better for the vast majority of
6-buttons games like Streets of Rage 3 or Ranger X, with the notable
exception of Super Street Fighter II, but who emulates it on the Genesis
anyways‽
Diffstat (limited to 'libblastem.c')
-rw-r--r-- | libblastem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libblastem.c b/libblastem.c index 29dc54c..efd81e8 100644 --- a/libblastem.c +++ b/libblastem.c @@ -414,8 +414,8 @@ void process_events() { static int16_t prev_state[2][RETRO_DEVICE_ID_JOYPAD_L2]; static const uint8_t map[] = { - BUTTON_A, BUTTON_X, BUTTON_MODE, BUTTON_START, DPAD_UP, DPAD_DOWN, - DPAD_LEFT, DPAD_RIGHT, BUTTON_B, BUTTON_Y, BUTTON_Z, BUTTON_C + BUTTON_B, BUTTON_A, BUTTON_MODE, BUTTON_START, DPAD_UP, DPAD_DOWN, + DPAD_LEFT, DPAD_RIGHT, BUTTON_C, BUTTON_Y, BUTTON_X, BUTTON_Z }; //TODO: handle other input device types //TODO: handle more than 2 ports when appropriate |