From cf92263fbaf117ad970523077c1be099092999a7 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Wed, 14 Oct 2020 23:43:07 +0100 Subject: [PATCH] 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. --- src/Backends/Platform/3DS.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Backends/Platform/3DS.cpp b/src/Backends/Platform/3DS.cpp index 7bf6a174..acc12e59 100644 --- a/src/Backends/Platform/3DS.cpp +++ b/src/Backends/Platform/3DS.cpp @@ -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)