History

Make the nw mapper work for th einputs

samcake committed 11 years ago

Commit d2e61db1 parent c9b29662 files · +5 −5Browse files

Showing the changes to interface/src/ui/UserInputMapper.cpp (1 of 2 files). Show all

Unified · Split

interface/src/ui/UserInputMapper.cpp+4−4
@@ -339,10 +339,10 @@ void UserInputMapper::assignDefaulActionUnitScales() { · 338 unmodified lines
339 _actionUnitScales[LATERAL_RIGHT] = 1.0f; // 1m per unit339 _actionUnitScales[LATERAL_RIGHT] = 1.0f; // 1m per unit
340 _actionUnitScales[VERTICAL_DOWN] = 1.0f; // 1m per unit340 _actionUnitScales[VERTICAL_DOWN] = 1.0f; // 1m per unit
341 _actionUnitScales[VERTICAL_UP] = 1.0f; // 1m per unit341 _actionUnitScales[VERTICAL_UP] = 1.0f; // 1m per unit
342 _actionUnitScales[YAW_LEFT] = glm::radians<float>(1.0f); // 3 degree per unit342 _actionUnitScales[YAW_LEFT] = 1.0f;//glm::radians<float>(1.0f); // 3 degree per unit
343 _actionUnitScales[YAW_RIGHT] = glm::radians<float>(1.0f); // 3 degree per unit343 _actionUnitScales[YAW_RIGHT] = 1.0f;//glm::radians<float>(1.0f); // 3 degree per unit
344 _actionUnitScales[PITCH_DOWN] = glm::radians<float>(1.0f); // 3 degree per unit344 _actionUnitScales[PITCH_DOWN] = 1.0f;//glm::radians<float>(1.0f); // 3 degree per unit
345 _actionUnitScales[PITCH_UP] = glm::radians<float>(1.0f); // 3 degree per unit345 _actionUnitScales[PITCH_UP] = 1.0f;//glm::radians<float>(1.0f); // 3 degree per unit
346 _actionUnitScales[BOOM_IN] = 1.0f; // 1m per unit346 _actionUnitScales[BOOM_IN] = 1.0f; // 1m per unit
347 _actionUnitScales[BOOM_OUT] = 1.0f; // 1m per unit347 _actionUnitScales[BOOM_OUT] = 1.0f; // 1m per unit
348}348}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t