ehzhang / nunchuck

📲 multi-device hardware data synchronization for mobile browsers
http://nunchuckjs.org
MIT License
242 stars 22 forks source link

Add support for multiple button presses #2

Closed ankushg closed 10 years ago

ankushg commented 10 years ago

Keep a list of all the buttons previously pressed.

If the current event is a press, add the button to the list and send it. If the current event is a release, remove the button from the list and send it.

ehzhang commented 10 years ago

Successfully completed.