Showing the changes to interface/src/ui/UserInputMapper.cpp (1 of 5 files). Show all
Unified · Split
| @@ -248,6 +248,8 @@ void UserInputMapper::assignDefaulActionScales() { · 247 unmodified lines | ||
| 248 | 248 | _actionScales[BOOM_IN] = 1.0f; // 1m per unit |
| 249 | 249 | _actionScales[BOOM_OUT] = 1.0f; // 1m per unit |
| 250 | 250 | _actionStates[SHIFT] = 1.0f; // on |
| 251 | + _actionStates[ACTION1] = 1.0f; // default | |
| 252 | + _actionStates[ACTION2] = 1.0f; // default | |
| 251 | 253 | } |
| 252 | 254 | |
| 253 | 255 | // This is only necessary as long as the actions are hardcoded |
| @@ -266,4 +268,6 @@ void UserInputMapper::createActionNames() { · 12 unmodified lines | ||
| 266 | 268 | _actionNames[BOOM_IN] = "BOOM_IN"; |
| 267 | 269 | _actionNames[BOOM_OUT] = "BOOM_OUT"; |
| 268 | 270 | _actionNames[SHIFT] = "SHIFT"; |
| 271 | + _actionNames[ACTION1] = "ACTION1"; | |
| 272 | + _actionNames[ACTION2] = "ACTION2"; | |
| 269 | 273 | } |