andrew / node-xbox-controller

:video_game: [UNMAINTAINED] Interface for Xbox 360 game controller into Node.js
http://libraries.io/npm/xbox-controller
MIT License
270 stars 49 forks source link

list of all available events for `xbox.on()` #35

Closed cschell closed 7 years ago

cschell commented 9 years ago

I'm having a hard time to understand all the events that are available for xbox.on(). There are, obviously, those listed in the Readme (like lefttrigger or right:move), but I also saw rightshoulder:release used by xbox-parrot.

I've yet to find a complete list of all available events and couldn't find anything helpful in the resources mentioned on top of the readme. So probably it's terribly obvious and I'm just missing it, but is there such a list anywhere?

andrew commented 9 years ago

The full list of buttons is in this file: https://github.com/andrew/node-xbox-controller/blob/master/lib/buttons.json

We should add those to the readme as well

cschell commented 9 years ago

That would be great :) Maybe that then could be referenced to a graphic like that, so everyone knows what's what.

GordonTurner-ICFNext commented 9 years ago

FYI, I added all (I think?) to the example.js, check it out: https://github.com/andrew/node-xbox-controller/blob/master/example.js.

andrew commented 9 years ago

Ah yes, good point @gordonturnerolson, I've linked to the example in the readme now: https://github.com/andrew/node-xbox-controller/commit/9b8340b67fec7df55e212b33590e56367e1afc61

gordonturner commented 9 years ago

Doh, that was my corporate alter ego commenting there...

andrew commented 7 years ago

I'm no longer supporting this library as I don't use it any longer so I'm going to close this issue.