Commit Graph

171 Commits

Author SHA1 Message Date
Joshua Granick
280a8c2a2b HTML5 fixes 2015-03-19 10:28:22 -07:00
Joshua Granick
626c1009f1 Make Gamepad a real instance, not an abstract. Other fixes 2015-03-18 09:45:55 -07:00
Joshua Granick
ed0ca6f512 More work on Gamepad support 2015-03-18 02:58:31 -07:00
Joshua Granick
cfbf3f4a3f Initial Lime Gamepad API 2015-03-18 01:42:56 -07:00
Joshua Granick
822c6dda71 Merge pull request #355 from misohena/fix-html5-mouse-wheel-dir
Fix direction of mouse wheel deltaY on HTML5
2015-03-17 06:43:38 -07:00
vroad
1b47fc33a2 Always use setImmediate on Node.js 2015-03-04 18:12:22 +09:00
Joshua Granick
c846cb397c Haxe 3.2 fixes 2015-03-03 14:18:57 -08:00
AKIYAMA Kouhei
6e319d4986 Fix direction of mouse wheel deltaY on HTML5
When mouse wheel moved up 1 notch, deltaY is:
  - HTML5
    - Chrome : -100 (deltaMode=0) (Chrome40.0.2214.115m, Windows7)
    - Chrome : -33.333 (deltaMode=0) (Chrome40.0.2214.115m, Windows8.1, laptop touchpad)
    - Firefox : -3 (deltaMode=1) (Firefox36, Windows7)
    - Firefox : -1 (deltaMode=1) (Firefox35, Windows8.1, laptop mouse)
    - Firefox : -0.2 (deltaMode=1) (Firefox36, Windows8.1, laptop touchpad)
    - Firefox : -0.75 (deltaMode=1) (Firefox35, Windows7, notchless wheel)
  - Flash : 3
  - Windows : 1
2015-02-26 14:12:11 +09:00
Joshua Granick
139293adf5 Add key modifier support to Flash key events and use KeyCode/KeyModifier instead of Int (can still override using Int) 2015-02-23 14:58:28 -08:00
Joshua Granick
f40d0f04ff Improve KeyModifier 2015-02-23 14:21:24 -08:00
AKIYAMA Kouhei
a0d440d641 Support key modifier on HTML5 2015-02-24 03:41:32 +09:00
Joshua Granick
2d6341667d Set stage scale and align in Flash window creation, not preloader. Support web font events in HTML5 preloading 2015-02-17 09:32:27 -08:00
Joshua Granick
62194c7842 Add Emscripten support 2015-02-12 19:04:57 -08:00
Joshua Granick
5504dff344 Refactor, make most events instance-based (not static), move events to Window, remove 'EventManager' classes, implement deltaTime 2015-02-02 15:30:29 -08:00
Joshua Granick
05ce36188b Add application.removeWindow, window.close, and fixes for using an empty config 2015-01-29 15:34:18 -08:00
Joshua Granick
d1159824bd Allow null Application config 2015-01-29 12:42:13 -08:00
Joshua Granick
c8abf857bc Improve consistency between targets when merging documentation 2015-01-26 09:08:39 -08:00
James Gray
057ae36d69 add ConsoleRenderContext 2015-01-20 00:46:13 -06:00
Joshua Granick
6682afbec4 Merge the backend function for key, mouse and touch events into application and window classes 2015-01-19 21:27:26 -08:00
Joshua Granick
10453bd23a Refactor 2015-01-19 20:37:01 -08:00
Joshua Granick
d60887b739 Refactor into separate 'backend' classes 2015-01-19 12:43:55 -08:00