mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-30 03:25:39 +00:00
Frontend: Swap L1/R1 and L2/R2 bindings
This commit is contained in:
parent
708ce25cb0
commit
a25fe54a4b
|
@ -289,17 +289,17 @@ static bool HandleSDLKeyEventForController(const SDL_Event* event, DigitalContro
|
||||||
controller->SetButtonState(DigitalController::Button::Right, pressed);
|
controller->SetButtonState(DigitalController::Button::Right, pressed);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case SDL_SCANCODE_Q:
|
case SDL_SCANCODE_1:
|
||||||
controller->SetButtonState(DigitalController::Button::L1, pressed);
|
controller->SetButtonState(DigitalController::Button::L1, pressed);
|
||||||
return true;
|
return true;
|
||||||
case SDL_SCANCODE_E:
|
case SDL_SCANCODE_3:
|
||||||
controller->SetButtonState(DigitalController::Button::R1, pressed);
|
controller->SetButtonState(DigitalController::Button::R1, pressed);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case SDL_SCANCODE_1:
|
case SDL_SCANCODE_Q:
|
||||||
controller->SetButtonState(DigitalController::Button::L2, pressed);
|
controller->SetButtonState(DigitalController::Button::L2, pressed);
|
||||||
return true;
|
return true;
|
||||||
case SDL_SCANCODE_3:
|
case SDL_SCANCODE_E:
|
||||||
controller->SetButtonState(DigitalController::Button::R2, pressed);
|
controller->SetButtonState(DigitalController::Button::R2, pressed);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue