Frontend: Swap L1/R1 and L2/R2 bindings

This commit is contained in:
Connor McLaughlin 2019-11-15 14:13:05 +10:00
parent 708ce25cb0
commit a25fe54a4b

View file

@ -289,17 +289,17 @@ static bool HandleSDLKeyEventForController(const SDL_Event* event, DigitalContro
controller->SetButtonState(DigitalController::Button::Right, pressed);
return true;
case SDL_SCANCODE_Q:
case SDL_SCANCODE_1:
controller->SetButtonState(DigitalController::Button::L1, pressed);
return true;
case SDL_SCANCODE_E:
case SDL_SCANCODE_3:
controller->SetButtonState(DigitalController::Button::R1, pressed);
return true;
case SDL_SCANCODE_1:
case SDL_SCANCODE_Q:
controller->SetButtonState(DigitalController::Button::L2, pressed);
return true;
case SDL_SCANCODE_3:
case SDL_SCANCODE_E:
controller->SetButtonState(DigitalController::Button::R2, pressed);
return true;