From 7af28c267d648ce4d37d567cf06ce097a6598116 Mon Sep 17 00:00:00 2001 From: nmzik Date: Tue, 15 Sep 2026 14:53:00 +0400 Subject: [PATCH] Map Z/C to L2/R2 --- src/graphics/presentation/window/hostInput.cpp | 2 ++ src/launcher/src/inputMappingDialog.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/graphics/presentation/window/hostInput.cpp b/src/graphics/presentation/window/hostInput.cpp index 22ba8ae37..7b3e9882a 100644 --- a/src/graphics/presentation/window/hostInput.cpp +++ b/src/graphics/presentation/window/hostInput.cpp @@ -220,6 +220,8 @@ uint32_t DefaultKeyboardButton(int key_code) { case SDLK_l: return Controller::PAD_BUTTON_CIRCLE; case SDLK_q: return Controller::PAD_BUTTON_L1; case SDLK_e: return Controller::PAD_BUTTON_R1; + case SDLK_z: return Controller::PAD_BUTTON_L2; + case SDLK_c: return Controller::PAD_BUTTON_R2; case SDLK_LSHIFT: return Controller::PAD_BUTTON_L3; case SDLK_LCTRL: return Controller::PAD_BUTTON_R3; case SDLK_RETURN: diff --git a/src/launcher/src/inputMappingDialog.cpp b/src/launcher/src/inputMappingDialog.cpp index 20952f01b..15f1c60fb 100644 --- a/src/launcher/src/inputMappingDialog.cpp +++ b/src/launcher/src/inputMappingDialog.cpp @@ -46,8 +46,8 @@ constexpr PadControl PAD_CONTROLS[] = { {"Square", "Square", "K"}, {"L1", "L1", "Q"}, {"R1", "R1", "E"}, - {"L2", "L2", ""}, - {"R2", "R2", ""}, + {"L2", "L2", "Z"}, + {"R2", "R2", "C"}, {"L3", "L3", "Left Shift"}, {"R3", "R3", "Left Ctrl"}, {"Options", "Options", "Return"},