mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 06:50:32 +00:00
(Android) Tomee NES USB autodetection - swap around buttons A and B
This commit is contained in:
parent
75421c5efa
commit
c129f1e2ce
@ -1288,8 +1288,8 @@ static void android_input_set_keybinds(void *data, unsigned device,
|
||||
|
||||
keycode_lut[AKEYCODE_BUTTON_R2]|= ((RETRO_DEVICE_ID_JOYPAD_START+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_L2]|= ((RETRO_DEVICE_ID_JOYPAD_SELECT+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_A]|= ((RETRO_DEVICE_ID_JOYPAD_B+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_B]|= ((RETRO_DEVICE_ID_JOYPAD_A+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_A]|= ((RETRO_DEVICE_ID_JOYPAD_A+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_B]|= ((RETRO_DEVICE_ID_JOYPAD_B+1) << shift);
|
||||
break;
|
||||
case DEVICE_THRUSTMASTER_T_MINI:
|
||||
g_settings.input.device[port] = device;
|
||||
|
Loading…
Reference in New Issue
Block a user