Commit Graph

21 Commits

Author SHA1 Message Date
Martin Pulec
445d9ef748 SDL2: register as module + use dynamic event number
+ reduce indention in the main loop
2019-10-31 11:49:00 +01:00
Martin Pulec
e2fa40169e SDL2: pass also Ctrl-modified keys 2019-10-31 08:04:39 +01:00
Martin Pulec
35757c31f3 Moved common key sending from displays 2019-10-31 08:04:36 +01:00
Martin Pulec
94a34ecbb9 SDL2: pass unknown keys to keycontrol 2019-10-30 14:59:49 +01:00
Martin Pulec
8b2679c2cb SDL2: option to keep aspect ratio on resize 2019-08-05 09:57:21 +02:00
Martin Pulec
6dcf23821d SDL2: use SIZE_CHANGED event instead RESIZED
Use SDL_WINDOWEVENT_SIZE_CHANGED instead of SDL_WINDOWEVENT_RESIZED. The
RESIZED event was called only for user-induced window size changes while
the SIZE_CHANGED is called even on changes through API or system.
2019-08-05 09:57:17 +02:00
Martin Pulec
5fae9a4a0e SDL2: print key shortcuts in help 2019-08-01 10:26:30 +02:00
Martin Pulec
88707f5927 SDL2: pretty print usage 2019-07-24 10:57:06 +02:00
Martin Pulec
fccf0d672e SDL2: added option "pos" 2019-07-24 10:57:06 +02:00
Martin Pulec
1ada94dac2 SDL2: added option window_flags 2019-07-24 10:57:06 +02:00
Martin Pulec
4ea62acb2b SDL2: added fixed_size option 2019-07-24 10:57:06 +02:00
Martin Pulec
dc733d0fb0 SDL2: added nodecorate option 2019-07-24 10:57:06 +02:00
Martin Piatka
25e6f31662 video_display_info: probe: pass function ptr to deleter func 2019-03-15 13:00:59 +01:00
Martin Pulec
37d72e8f03 SDL2: fixed display identification (probe) 2018-12-17 10:35:43 +01:00
Martin Pulec
015eed7548 SDL2: disable screensaver 2018-09-18 14:17:19 +02:00
Martin Pulec
352f25ea40 SDL2: recreate window on reconfigure
This behaves better with Wayland backend.
2018-08-22 11:22:54 +02:00
Martin Pulec
cc432de444 SDL2: added more options
Added options to:
- choose driver and renderer
- disable sync on VBlank
2018-08-15 13:29:51 +02:00
Martin Pulec
b63d354faa SDL2: redraw also when made fullscreen 2018-08-08 11:50:20 +02:00
Martin Pulec
4a41bc050b SDL2: option to specify display index 2018-08-08 11:50:20 +02:00
Martin Piatka
c17b06226d SDL2: Build compatibility with sdl2 < 2.0.5 2018-08-03 12:11:28 +02:00
Martin Pulec
427fbf1457 Added SDL2
* initial implementation
* SDL1 is still default
2018-08-02 16:01:22 +02:00