Now that I've got node-usb running, I've plugged in an xbox controller and am exploring what it offers.
One thing that I'm not really sure about is how to listen for events from a given device. Is it necessary to poll a usb device continuously, such as a game controller, to get its modified input values? Or rather, is there an event interface on node-usb that I can subscribe to?
Now that I've got node-usb running, I've plugged in an xbox controller and am exploring what it offers.
One thing that I'm not really sure about is how to listen for events from a given device. Is it necessary to poll a usb device continuously, such as a game controller, to get its modified input values? Or rather, is there an event interface on node-usb that I can subscribe to?