mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-01 10:35:54 +00:00
Y-flip menu analog stick mapping on Switch
This commit is contained in:
parent
16efa1d877
commit
b56b3b43c7
@ -349,7 +349,7 @@ void AxisEvent(const AxisInput &axis, ViewGroup *root) {
|
||||
// We stupidly interpret the joystick Y axis backwards on Android and Linux instead of reversing
|
||||
// it early (see keymaps...). Too late to fix without invalidating a lot of config files, so we
|
||||
// reverse it here too.
|
||||
#if PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(LINUX)
|
||||
#if PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(LINUX) || PPSSPP_PLATFORM(SWITCH)
|
||||
GenerateKeyFromAxis(old.y, dir, NKCODE_DPAD_UP, NKCODE_DPAD_DOWN);
|
||||
#else
|
||||
GenerateKeyFromAxis(old.y, dir, NKCODE_DPAD_DOWN, NKCODE_DPAD_UP);
|
||||
|
Loading…
x
Reference in New Issue
Block a user