mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 01:22:21 +02:00
OpenXrInput: comment debug output.
This commit is contained in:
parent
7f4a489945
commit
e1f2551e30
1 changed files with 5 additions and 5 deletions
|
@ -498,10 +498,10 @@ void OpenXrInputPlugin::InputDevice::update(float deltaTime, const controller::I
|
|||
for (const auto& channelAndPath : axesToUpdate[i]) {
|
||||
_axisStateMap[channelAndPath.first].value = _actions.at(channelAndPath.second)->getFloat(i).currentState;
|
||||
|
||||
if (_axisStateMap[channelAndPath.first].value != 0) {
|
||||
qCDebug(xr_input_cat, "🐸 Controller %d: %s (%d): %f", i, channelAndPath.second.c_str(), channelAndPath.first,
|
||||
(double)_axisStateMap[channelAndPath.first].value);
|
||||
}
|
||||
// if (_axisStateMap[channelAndPath.first].value != 0) {
|
||||
// qCDebug(xr_input_cat, "🐸 Controller %d: %s (%d): %f", i, channelAndPath.second.c_str(), channelAndPath.first,
|
||||
// (double)_axisStateMap[channelAndPath.first].value);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -535,7 +535,7 @@ void OpenXrInputPlugin::InputDevice::update(float deltaTime, const controller::I
|
|||
for (const auto& channelAndPath : buttonsToUpdate[i]) {
|
||||
if (_actions.at(channelAndPath.second)->getBool(i).currentState == XR_TRUE) {
|
||||
_buttonPressedMap.insert(channelAndPath.first);
|
||||
qCDebug(xr_input_cat, "🐸 Controller %d: %s (%d)", i, channelAndPath.second.c_str(), channelAndPath.first);
|
||||
// qCDebug(xr_input_cat, "🐸 Controller %d: %s (%d)", i, channelAndPath.second.c_str(), channelAndPath.first);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue