mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
linter at it again
This commit is contained in:
parent
e33852a127
commit
78e93fd826
@ -280,8 +280,7 @@ void WindowSDL::onKeyPress(const SDL_Event* event) {
|
||||
break;
|
||||
case SDLK_SPACE:
|
||||
if (backButtonBehavior != "none") {
|
||||
float x = backButtonBehavior == "left"
|
||||
? 0.25f
|
||||
float x = backButtonBehavior == "left" ? 0.25f
|
||||
: (backButtonBehavior == "right" ? 0.75f : 0.5f);
|
||||
// trigger a touchpad event so that the touchpad emulation for back button works
|
||||
controller->SetTouchpadState(0, true, x, 0.5f);
|
||||
|
Loading…
Reference in New Issue
Block a user