Revert "Frontend: Swap L1/R1 and L2/R2 bindings"
This reverts commit a25fe54a4b
.
This commit is contained in:
parent
11966e4caf
commit
ff398a3f77
|
@ -357,17 +357,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_1:
|
case SDL_SCANCODE_Q:
|
||||||
controller->SetButtonState(DigitalController::Button::L1, pressed);
|
controller->SetButtonState(DigitalController::Button::L1, pressed);
|
||||||
return true;
|
return true;
|
||||||
case SDL_SCANCODE_3:
|
case SDL_SCANCODE_E:
|
||||||
controller->SetButtonState(DigitalController::Button::R1, pressed);
|
controller->SetButtonState(DigitalController::Button::R1, pressed);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case SDL_SCANCODE_Q:
|
case SDL_SCANCODE_1:
|
||||||
controller->SetButtonState(DigitalController::Button::L2, pressed);
|
controller->SetButtonState(DigitalController::Button::L2, pressed);
|
||||||
return true;
|
return true;
|
||||||
case SDL_SCANCODE_E:
|
case SDL_SCANCODE_3:
|
||||||
controller->SetButtonState(DigitalController::Button::R2, pressed);
|
controller->SetButtonState(DigitalController::Button::R2, pressed);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue