ippa / jaws

Jaws - HTML5 canvas javascript 2D Game Framework
https://jawsjs.ippa.se
GNU Lesser General Public License v3.0
363 stars 75 forks source link

added mouse buttons to input.js #34

Closed err0 closed 12 years ago

err0 commented 12 years ago

left_mouse_button, center_mouse_button and right_mouse_button now work as inputs.

high number of commits due to earlier use of the github fork queue instead of tracking ippa/jaws as a remote upstream. you will see that the "files changed" count is 1.

also added mousebuttoncode_to_string and m arrays to use the same form as the keycode map.

ippa commented 12 years ago

looks good err0, merged!