ref: cf92263fbaf117ad970523077c1be099092999a7
parent: 3e03995ab4ba733f7d71928fb051d5d4a02f7443
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Oct 14 19:43:07 EDT 2020
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.
--- a/src/Backends/Platform/3DS.cpp
+++ b/src/Backends/Platform/3DS.cpp
@@ -107,8 +107,8 @@
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)