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
247247 _actionScales[PITCH_UP] = 1.0f; // 1 degree per unit
248248 _actionScales[BOOM_IN] = 1.0f; // 1m per unit
249249 _actionScales[BOOM_OUT] = 1.0f; // 1m per unit
250+ _actionStates[SHIFT] = 1.0f; // on
250251 }
251252
252253 // This is only necessary as long as the actions are hardcoded
@@ -264,4 +265,5 @@ void UserInputMapper::createActionNames() { · 11 unmodified lines
264265 _actionNames[PITCH_UP] = "PITCH_UP";
265266 _actionNames[BOOM_IN] = "BOOM_IN";
266267 _actionNames[BOOM_OUT] = "BOOM_OUT";
268+ _actionNames[SHIFT] = "SHIFT";
267269 }

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