mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 06:28:48 +02:00
Make the nw mapper work for th einputs
This commit is contained in:
parent
c9b296693c
commit
d2e61dba05
2 changed files with 5 additions and 5 deletions
|
@ -1538,7 +1538,7 @@ void Application::mouseReleaseEvent(QMouseEvent* event, unsigned int deviceID) {
|
|||
return;
|
||||
}
|
||||
|
||||
_keyboardMouseDevice.mousePressEvent(event);
|
||||
_keyboardMouseDevice.mouseReleaseEvent(event);
|
||||
|
||||
if (activeWindow() == _window) {
|
||||
|
||||
|
|
|
@ -339,10 +339,10 @@ void UserInputMapper::assignDefaulActionUnitScales() {
|
|||
_actionUnitScales[LATERAL_RIGHT] = 1.0f; // 1m per unit
|
||||
_actionUnitScales[VERTICAL_DOWN] = 1.0f; // 1m per unit
|
||||
_actionUnitScales[VERTICAL_UP] = 1.0f; // 1m per unit
|
||||
_actionUnitScales[YAW_LEFT] = glm::radians<float>(1.0f); // 3 degree per unit
|
||||
_actionUnitScales[YAW_RIGHT] = glm::radians<float>(1.0f); // 3 degree per unit
|
||||
_actionUnitScales[PITCH_DOWN] = glm::radians<float>(1.0f); // 3 degree per unit
|
||||
_actionUnitScales[PITCH_UP] = glm::radians<float>(1.0f); // 3 degree per unit
|
||||
_actionUnitScales[YAW_LEFT] = 1.0f;//glm::radians<float>(1.0f); // 3 degree per unit
|
||||
_actionUnitScales[YAW_RIGHT] = 1.0f;//glm::radians<float>(1.0f); // 3 degree per unit
|
||||
_actionUnitScales[PITCH_DOWN] = 1.0f;//glm::radians<float>(1.0f); // 3 degree per unit
|
||||
_actionUnitScales[PITCH_UP] = 1.0f;//glm::radians<float>(1.0f); // 3 degree per unit
|
||||
_actionUnitScales[BOOM_IN] = 1.0f; // 1m per unit
|
||||
_actionUnitScales[BOOM_OUT] = 1.0f; // 1m per unit
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue