From ff398a3f77fe12f91ad60849b38ff8cde69a4f77 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 22 Nov 2019 18:28:41 +1000 Subject: [PATCH] Revert "Frontend: Swap L1/R1 and L2/R2 bindings" This reverts commit a25fe54a4b2d5a8862fdc587ce5b69279dc40f81. --- src/duckstation/sdl_host_interface.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/duckstation/sdl_host_interface.cpp b/src/duckstation/sdl_host_interface.cpp index b6ede7d92..c5fcd492b 100644 --- a/src/duckstation/sdl_host_interface.cpp +++ b/src/duckstation/sdl_host_interface.cpp @@ -357,17 +357,17 @@ static bool HandleSDLKeyEventForController(const SDL_Event* event, DigitalContro controller->SetButtonState(DigitalController::Button::Right, pressed); return true; - case SDL_SCANCODE_1: + case SDL_SCANCODE_Q: controller->SetButtonState(DigitalController::Button::L1, pressed); return true; - case SDL_SCANCODE_3: + case SDL_SCANCODE_E: controller->SetButtonState(DigitalController::Button::R1, pressed); return true; - case SDL_SCANCODE_Q: + case SDL_SCANCODE_1: controller->SetButtonState(DigitalController::Button::L2, pressed); return true; - case SDL_SCANCODE_E: + case SDL_SCANCODE_3: controller->SetButtonState(DigitalController::Button::R2, pressed); return true;