mirror of https://github.com/stella-emu/stella.git
fix attempt for #692
This commit is contained in:
parent
42fc3f4f14
commit
a7189ce7ec
|
@ -123,8 +123,8 @@ int PhysicalJoystickHandler::add(const PhysicalJoystickPtr& stick)
|
||||||
{
|
{
|
||||||
StickInfo info("", stick);
|
StickInfo info("", stick);
|
||||||
myDatabase.emplace(stick->name, info);
|
myDatabase.emplace(stick->name, info);
|
||||||
setStickDefaultMapping(stick->ID, Event::NoType, EventMode::kEmulationMode, true);
|
setStickDefaultMapping(stick->ID, Event::NoType, EventMode::kEmulationMode);
|
||||||
setStickDefaultMapping(stick->ID, Event::NoType, EventMode::kMenuMode, true);
|
setStickDefaultMapping(stick->ID, Event::NoType, EventMode::kMenuMode);
|
||||||
}
|
}
|
||||||
|
|
||||||
return stick->ID;
|
return stick->ID;
|
||||||
|
|
Loading…
Reference in New Issue