History

add Controler.Actions

Brad Hefta-Gaub committed 11 years ago

Commit 63f31561 parent f55b6113 files · +17 −1Browse files

Showing the changes to examples/example/scripts/controllerScriptingExamples.js (1 of 3 files). Show all

Unified · Split

examples/example/scripts/controllerScriptingExamples.js+4−0
@@ -17,6 +17,10 @@ Object.keys(Controller.Hardware).forEach(function (deviceName) { · 16 unmodified lines
17 });17 });
18});18});
19 19
20Object.keys(Controller.Actions).forEach(function (actionName) {
21 print(actionName + ":" + Controller.Actions[actionName]);
22});
23
20// Resets every device to its default key bindings:24// Resets every device to its default key bindings:
21Controller.resetAllDeviceBindings();25Controller.resetAllDeviceBindings();
22 26