Showing the changes to examples/example/scripts/controllerScriptingExamples.js (1 of 3 files). Show all
Unified · Split
| @@ -17,6 +17,10 @@ Object.keys(Controller.Hardware).forEach(function (deviceName) { · 16 unmodified lines | ||
| 17 | 17 | }); |
| 18 | 18 | }); |
| 19 | 19 | |
| 20 | +Object.keys(Controller.Actions).forEach(function (actionName) { | |
| 21 | + print(actionName + ":" + Controller.Actions[actionName]); | |
| 22 | +}); | |
| 23 | + | |
| 20 | 24 | // Resets every device to its default key bindings: |
| 21 | 25 | Controller.resetAllDeviceBindings(); |
| 22 | 26 | |