This commit is contained in:
thrust26 2019-06-15 13:10:02 +02:00
parent b85bbbdcdc
commit aef9decdfb
1 changed files with 1 additions and 1 deletions

View File

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