fix attempt for #692

This commit is contained in:
thrust26 2020-08-23 10:58:36 +02:00
parent 42fc3f4f14
commit a7189ce7ec
1 changed files with 2 additions and 2 deletions

View File

@ -123,8 +123,8 @@ int PhysicalJoystickHandler::add(const PhysicalJoystickPtr& stick)
{
StickInfo info("", stick);
myDatabase.emplace(stick->name, info);
setStickDefaultMapping(stick->ID, Event::NoType, EventMode::kEmulationMode, true);
setStickDefaultMapping(stick->ID, Event::NoType, EventMode::kMenuMode, true);
setStickDefaultMapping(stick->ID, Event::NoType, EventMode::kEmulationMode);
setStickDefaultMapping(stick->ID, Event::NoType, EventMode::kMenuMode);
}
return stick->ID;