3DS - Swap ZL and ZR
I use the D-pad on the 3DS, rendering the L and ZL buttons basically unusable. By swapping ZL and ZR, I can cycle through the weapons both ways with only my right hand.
This commit is contained in:
parent
3e03995ab4
commit
cf92263fba
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ void Backend_GetKeyboardState(bool *keyboard_state)
|
|||
keyboard_state[BACKEND_KEYBOARD_X] |= buttons & KEY_Y; // Shoot
|
||||
keyboard_state[BACKEND_KEYBOARD_Q] |= buttons & (KEY_A | KEY_START); // Inventory
|
||||
keyboard_state[BACKEND_KEYBOARD_W] |= buttons & (KEY_X | KEY_SELECT); // Map
|
||||
keyboard_state[BACKEND_KEYBOARD_A] |= buttons & (KEY_L | KEY_ZL | KEY_CSTICK_LEFT); // Weapon left
|
||||
keyboard_state[BACKEND_KEYBOARD_S] |= buttons & (KEY_R | KEY_ZR | KEY_CSTICK_RIGHT); // Weapon right
|
||||
keyboard_state[BACKEND_KEYBOARD_A] |= buttons & (KEY_L | KEY_ZR | KEY_CSTICK_LEFT); // Weapon left
|
||||
keyboard_state[BACKEND_KEYBOARD_S] |= buttons & (KEY_R | KEY_ZL | KEY_CSTICK_RIGHT); // Weapon right
|
||||
}
|
||||
|
||||
void Backend_ShowMessageBox(const char *title, const char *message)
|
||||
|
|
Loading…
Add table
Reference in a new issue