History

added shift action, added timers and fast mode to hmdControls.js

Sam Gondelman committed 11 years ago

Commit fd0efd91 parent f7525346 files · +81 −13Browse files

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

Unified · Split

interface/src/ui/UserInputMapper.cpp+2−0
@@ -247,6 +247,7 @@ void UserInputMapper::assignDefaulActionScales() { · 246 unmodified lines
247 _actionScales[PITCH_UP] = 1.0f; // 1 degree per unit247 _actionScales[PITCH_UP] = 1.0f; // 1 degree per unit
248 _actionScales[BOOM_IN] = 1.0f; // 1m per unit248 _actionScales[BOOM_IN] = 1.0f; // 1m per unit
249 _actionScales[BOOM_OUT] = 1.0f; // 1m per unit249 _actionScales[BOOM_OUT] = 1.0f; // 1m per unit
250 _actionStates[SHIFT] = 1.0f; // on
250}251}
251 252
252// This is only necessary as long as the actions are hardcoded253// This is only necessary as long as the actions are hardcoded
@@ -264,4 +265,5 @@ void UserInputMapper::createActionNames() { · 11 unmodified lines
264 _actionNames[PITCH_UP] = "PITCH_UP";265 _actionNames[PITCH_UP] = "PITCH_UP";
265 _actionNames[BOOM_IN] = "BOOM_IN";266 _actionNames[BOOM_IN] = "BOOM_IN";
266 _actionNames[BOOM_OUT] = "BOOM_OUT";267 _actionNames[BOOM_OUT] = "BOOM_OUT";
268 _actionNames[SHIFT] = "SHIFT";
267}269}

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