How can I get six Xbox controllers to provide input to an HTML5 game?
- by Daniel X Moore
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.