How can I get six Xbox controllers to provide input to an HTML5 game?

Posted by Daniel X Moore on Game Development See other posts from Game Development or by Daniel X Moore
Published on 2011-06-16T07:25:10Z Indexed on 2011/06/25 8:31 UTC
Read the original article Hit count: 348

Filed under:
|
|

I'm creating a six player HTML 5 game designed to be played locally (Red Ice).

I've previous set up handling 7 Wiimotes using something along the lines of Joy2Key to map each input for each player to a separate keyboard key, but Wiimotes are pretty hard on the hands for these types of games and not very ergonomic so I thought I'd try and get Xbox controller support.

I don't believe that any simple key mapping solution will work due to the nature of the directional stick.

My inclination is that this will require a browser plugin and if so I'd prefer to write the plugin for Google Chrome.

How do I create a Chrome browser plugin to handle multiple Xbox controllers or is there some other way?

Please do not answer this question saying it can't be done, because it absolutely can.

EDIT: I don't believe any keymapping/mouse simulating solution will work unless it can reliably distinguish six axis of inputs, one per player.

© Game Development or respective owner

Related posts about html5

Related posts about input