Skip to content

Commit

Permalink
incorrect event name on example file, needed to define correct json s…
Browse files Browse the repository at this point in the history
…tructure for ds4
  • Loading branch information
ricardo committed Apr 24, 2014
1 parent a048b46 commit a4b94e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion controllerConfigurations/dualShock4-generic-driver.json
Expand Up @@ -144,5 +144,7 @@
"buttonBlock": 6,
"buttonValue": "0x80"
}
]
],
"motionInputs" : [],
"status" : []
}
2 changes: 1 addition & 1 deletion examples/consolePrintControllerEvents.js
Expand Up @@ -37,7 +37,7 @@ var printcontrollerEvents = function(controller, controllerConfiguration) {
controller.on(controllerConfiguration.buttons[i].name + ":press", pressed);
controller.on(controllerConfiguration.buttons[i].name + ":release", released);
controller.on(controllerConfiguration.buttons[i].name + ":analog", analog);
controller.on(controllerConfiguration.buttons[i].name + ":hold", analog);
controller.on(controllerConfiguration.buttons[i].name + ":hold", hold);

}
//subscribe to all the status events:
Expand Down

0 comments on commit a4b94e2

Please sign in to comment.