mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 06:53:01 +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);
|
connect(userInputMapper.data(), &UserInputMapper::inputEvent, this, &controller::ScriptingInterface::inputEvent);
|
||||||
|
|
||||||
// FIXME make this thread safe
|
// FIXME make this thread safe
|
||||||
connect(userInputMapper.data(), &UserInputMapper::hardwareChanged, [=] {
|
connect(userInputMapper.data(), &UserInputMapper::hardwareChanged, this, [=] {
|
||||||
updateMaps();
|
updateMaps();
|
||||||
emit hardwareChanged();
|
emit hardwareChanged();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
qCDebug(controllers) << "Setting up standard controller abstraction";
|
qCDebug(controllers) << "Setting up standard controller abstraction";
|
||||||
_standard = createDeviceMap(userInputMapper->getStandardDevice());
|
_standard = createDeviceMap(userInputMapper->getStandardDevice());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue