Commit Graph

287 Commits

Author SHA1 Message Date
Joshua Granick
7e182981fe Merge pull request #592 from tanis2000/tvos
tvOS support
2015-10-02 09:49:28 -07:00
Joshua Granick
a069328efb Add System.allowScreenTimeout 2015-09-30 12:46:14 -07:00
Valerio Santinelli
c6b9772e96 Added the tvos target to the command line tool and started working on the TVOSPlatform and TVOSHelper 2015-09-29 09:24:11 +02:00
Nilsen Filc
41f110c3ba Neutralize SDL_FINGERUP on Mac OSX
solves https://github.com/openfl/openfl/issues/815
2015-09-16 23:36:52 +02:00
Joshua Granick
19487619f0 Minor tweak 2015-09-16 08:13:11 -07:00
Joshua Granick
5b5528e7cb Improve accelerometer support 2015-09-15 22:46:07 -07:00
Joshua Granick
1170702692 Accelerometer events 2015-09-15 16:30:15 -07:00
Joshua Granick
34d4b9cc13 Improve RPi support 2015-09-02 23:55:35 -07:00
Joshua Granick
f618c4648a Make window.alert simpler 2015-09-02 17:59:30 -07:00
Joshua Granick
dc919adccc Name window.notify back to window.alert and unify with simple message box support 2015-09-02 09:53:03 -07:00
Joshua Granick
b199e7ac7d Rename to window.notify (should have a more robust notification system in the future) 2015-09-02 09:01:04 -07:00
Tommy X
77b9243ce8 Added Alert function 2015-09-01 20:12:41 -04:00
Tommy X
62b2c76543 Added Alert function 2015-09-01 20:12:03 -04:00
Joshua Granick
b10a876307 Rename to window.focus () 2015-08-25 16:26:09 -07:00
Lars A. Doucet
36538a4b3e window: exposed "raise()" function from SDL to bring the specified window to the top of the display stack 2015-08-20 20:57:49 -05:00
Joshua Granick
36515078c4 Apply vsync only if the window is hardware 2015-08-20 15:52:16 -07:00
Joshua Granick
56c0872b8a Use onWindowCreate() instead of init(), fix support for multiple GL windows, use window.renderer instead of currentRenderer 2015-08-20 13:39:53 -07:00
Joshua Granick
f7e53cdea8 Move Keyboard events back to Window 2015-08-19 16:30:36 -07:00
Joshua Granick
c666477b58 Make the Touch events more robust 2015-08-19 16:04:57 -07:00
Joshua Granick
0fee391426 Allow multiple windows, close each one individually, exit when all are closed 2015-08-19 12:59:12 -07:00
Joshua Granick
8768d6114f Add window.id, add native EXIT event, filter window-based events and send to correct window instance 2015-08-19 12:36:30 -07:00
Joshua Granick
24c565bbd8 Add initial lime.system.Clipboard implementation 2015-08-12 11:49:20 -07:00
Joshua Granick
603da175d2 Make all touch events use normalized (0-1) coordinates 2015-08-12 10:58:02 -07:00
Joshua Granick
dd8ca69353 Port JNI class from Lime legacy 2015-08-11 15:39:41 -07:00
Nilsen Filc
e5870a4ca2 Cater for two's complement in joypad analog axis
Cater for two's complement in joypad analog axis - positive analog and triggers would otherwise send wrong valueif divided by 32768 when 32767 is max.
2015-08-09 12:17:20 +02:00
Joshua Granick
28321ddc58 Minor change 2015-07-31 20:51:59 -07:00
Joshua Granick
ef9263abe1 Merge pull request #529 from jarnik/master
settable lime.ui.Window.title, SDL only
2015-07-31 20:46:26 -07:00
Joshua Granick
2290e26c4d We cannot maintain an updated list of displays, change to 'System.getDisplay' instead 2015-07-31 19:34:41 -07:00
Joshua Granick
fd376e6f99 Working on the Display API 2015-07-31 12:10:57 -07:00
Jarnik
83fcb82cce settable lime.ui.Window.titlem, SDL only 2015-07-31 08:08:12 +02:00
Lars A. Doucet
8c24a8ad24 displays -- add bounds 2015-07-30 16:23:30 -05:00
Lars A. Doucet
bad547d090 display -- (almost) final touches 2015-07-30 15:47:19 -05:00
Lars A. Doucet
e04b18cd8a displays -- almost there 2015-07-30 15:32:20 -05:00
Lars A. Doucet
a99ee5af17 display -- adding last implementation bits 2015-07-30 15:27:28 -05:00
Lars A. Doucet
37a16c5971 add name 2015-07-30 14:46:36 -05:00
Lars A. Doucet
ac275f55ee display -- name 2015-07-30 14:40:37 -05:00
Lars A. Doucet
60f5dc4ff5 cleaning up Display cpp 2015-07-30 13:53:55 -05:00
Lars A. Doucet
e0a16c109c Trying to hook up the first native function! 2015-07-30 13:39:05 -05:00
Lars A. Doucet
32beb569d1 added Display.h / SDLDisplay.cpp, blank for now 2015-07-30 13:12:42 -05:00
Joshua Granick
861c0fe63b Fallback to software if hardware is not available 2015-07-23 08:09:30 -07:00
Nilsen Filc
0478a54e37 Gamepad controller axis deadzone low filter
Added gamepad controller axis deadzone low filter, removing unnecessary spam from controller analog sticks natural jitter.
Base filter set default at value 1000. Tested with multiple gamepads connected at the same time (Sony PS3).
2015-07-17 22:30:13 +02:00
Joshua Granick
f844f38eeb Patch double mouse events on iOS 2015-07-07 12:29:44 -07:00
Joshua Granick
1105b0fe4e Make sure we shut down cleanly 2015-07-03 05:18:49 -07:00
Joshua Granick
46958400ba Use bitsPerPixel 2015-06-20 09:27:47 -07:00
Joshua Granick
d73460da18 Create a new native Bytes implementation, use it instead of ByteArray for better ByteArray and Bytes support 2015-06-19 14:11:15 -07:00
Joshua Granick
6a07487eb9 Merge pull request #470 from PVince81/sdlmultitouch-nonlegacy
Implement touch support in SDLApplication
2015-06-16 14:43:30 -07:00
Vincent Petry
b48a7cad7e Implement touch support in SDLApplication 2015-06-16 21:37:56 +02:00
Lars A. Doucet
9f27bcac22 Add joystick initialization to next path, which adds compatibility for PS4 controllers (and many others, most likely) 2015-06-16 13:43:10 -05:00
Joshua Granick
172ab1a307 Disable ALLOW_HIGHDPI for now (causing wrong resolution) 2015-06-12 10:05:53 -07:00
Joshua Granick
5c5430ea0b Add additional gamepad mappings 2015-06-12 09:10:35 -07:00