Commit Graph

274 Commits

Author SHA1 Message Date
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
Joshua Granick
f4a90a8ef3 Dispatch events for window activate/deactivate on SDL mobile 2015-06-05 11:24:58 -07:00
Remi Gillig
a7c95df6a9 Add SDL_WINDOW_ALLOW_HIGHDPI to SDL_CreateWindow flags so Retina support works on OSX. 2015-06-05 16:34:52 +01:00
Kane Wallmann
be32c5b925 Handle window resize events for Cairo 2015-05-26 02:19:16 +10:00
Joshua Granick
cb87783f2b Add support for application.frameRate 2015-05-14 16:29:31 -07:00
Joshua Granick
2d3f51d2a4 Initial support for text input/edit events 2015-05-12 07:11:21 -07:00
Joshua Granick
6e705aa23f Initial support for software rendering using Cairo 2015-05-01 18:13:40 -07:00
Joshua Granick
41a2c292dd Prepare for ANGLE support 2015-04-30 10:43:09 -07:00
Joshua Granick
632f0e695d Add window enter and leave events (mouse focus) 2015-04-24 02:18:30 -07:00
Joshua Granick
f59583ed34 Handle hardware anti-aliasing flags with SDL2 2015-04-16 16:50:53 -07:00
Joshua Granick
342c64293f Improve handling of Windows system paths 2015-04-10 09:11:46 -07:00
Joshua Granick
94655546bb Add default Linux font directory 2015-03-30 08:54:04 -07:00
Joshua Granick
6d8c9458fe Cleanup, using Mouse.warp and Mouse.lock, window.onMouseMoveRelative, removing 'button' value from mouse move event 2015-03-26 02:10:08 -07:00
Joshua Granick
3ea7830673 Merge pull request #386 from sepharoth213/master
Adding mouse functionality for locking/warping in native
2015-03-26 01:18:47 -07:00