mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 14:42:09 +02:00
CR feedback
This commit is contained in:
parent
30f7c44f61
commit
457ec76d3d
1 changed files with 1 additions and 2 deletions
|
@ -48,12 +48,11 @@ controller::ScriptingInterface::ScriptingInterface() {
|
|||
connect(userInputMapper.data(), &UserInputMapper::inputEvent, this, &controller::ScriptingInterface::inputEvent);
|
||||
|
||||
// FIXME make this thread safe
|
||||
connect(userInputMapper.data(), &UserInputMapper::hardwareChanged, [=] {
|
||||
connect(userInputMapper.data(), &UserInputMapper::hardwareChanged, this, [=] {
|
||||
updateMaps();
|
||||
emit hardwareChanged();
|
||||
});
|
||||
|
||||
|
||||
qCDebug(controllers) << "Setting up standard controller abstraction";
|
||||
_standard = createDeviceMap(userInputMapper->getStandardDevice());
|
||||
|
||||
|
|
Loading…
Reference in a new issue