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, '^'))