Showing the changes to interface/src/ui/UserInputMapper.cpp (1 of 6 files). Show all
Unified · Split
| @@ -247,6 +247,7 @@ void UserInputMapper::assignDefaulActionScales() { · 246 unmodified lines | |||
| 247 | _actionScales[PITCH_UP] = 1.0f; // 1 degree per unit | 247 | _actionScales[PITCH_UP] = 1.0f; // 1 degree per unit |
| 248 | _actionScales[BOOM_IN] = 1.0f; // 1m per unit | 248 | _actionScales[BOOM_IN] = 1.0f; // 1m per unit |
| 249 | _actionScales[BOOM_OUT] = 1.0f; // 1m per unit | 249 | _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 hardcoded | 253 | // 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 | } |