From aef9decdfb7697c1419784fa59eeca15f1c5cfaf Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sat, 15 Jun 2019 13:10:02 +0200 Subject: [PATCH] fix #492 --- src/common/PJoystickHandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/PJoystickHandler.cxx b/src/common/PJoystickHandler.cxx index ad7016a6f..ed5fb6b79 100644 --- a/src/common/PJoystickHandler.cxx +++ b/src/common/PJoystickHandler.cxx @@ -41,7 +41,7 @@ PhysicalJoystickHandler::PhysicalJoystickHandler( // First compare if event list version has changed, and disregard the entire mapping if true getline(buf, joymap, '^'); // event list size, ignore - if(version != Event::VERSION) + if(version == Event::VERSION) { // Otherwise, put each joystick mapping entry into the database while(getline(buf, joymap, '^'))