mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
Joystick input: Ignore in-deadzone events from a different device than previous events
Fixes #15465
This commit is contained in:
1 parent
f4c88e0f80
commit
5230fc7c41
7 files changed
+99
-71
No files matched your search
@@ -583,6 +583,7 @@ void JoystickHistoryView::Update() {
|
||||
|
||||
AnalogSetupScreen::AnalogSetupScreen() {
|
||||
mapper_.SetCallbacks([](int vkey) {}, [](int vkey) {}, [&](int stick, float x, float y) {
|
||||
NOTICE_LOG(COMMON, "analog value from mapper: %f %f", x, y);
|
||||
analogX_[stick] = x;
|
||||
analogY_[stick] = y;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user