cykod / Quintus

HTML5 Game Engine
http://html5quintus.com
GNU General Public License v2.0
1.41k stars 401 forks source link

Mouse wheel support #154

Closed mrpetrocket closed 9 years ago

mrpetrocket commented 9 years ago

Added mousewheel support. To detect a mousewheel event, ensure that Quintus mouseControls are enabled and bind to the "mouseWheel" event.

Q.input.on("mouseWheel", yourObject, "yourEventHandlerName");

Tested mousewheel functionality in Chrome 40, Firefox 37, and IE11.