Log when hydra is disconnected.

This commit is contained in:
Howard Stearns 2015-10-09 16:19:14 -07:00
parent 614a47c90d
commit 7ba149fbbd

View file

@ -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);