mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-12 20:37:54 +02:00
Log when hydra is disconnected.
This commit is contained in:
parent
614a47c90d
commit
7ba149fbbd
1 changed files with 3 additions and 0 deletions
|
@ -166,6 +166,9 @@ void SixenseManager::update(float deltaTime, bool jointsCaptured) {
|
|||
auto userInputMapper = DependencyManager::get<UserInputMapper>();
|
||||
|
||||
if (sixenseGetNumActiveControllers() == 0) {
|
||||
if (_hydrasConnected) {
|
||||
qCDebug(inputplugins, "hydra disconnected");
|
||||
}
|
||||
_hydrasConnected = false;
|
||||
if (_deviceID != 0) {
|
||||
userInputMapper->removeDevice(_deviceID);
|
||||
|
|
Loading…
Reference in a new issue