6527 Commits

Author SHA1 Message Date
cpasjuste
e7ee339cc3 switch: update configure 2021-06-24 16:30:12 +02:00
cpasjuste
d74147dd8b switch: update configure.ac 2021-06-24 16:15:28 +02:00
cpasjuste
84f61daaab switch: fix power interface 2021-06-24 14:32:27 +02:00
cpasjuste
8249883616 switch: use getcwd for SDL_GetPrefPath 2021-06-24 13:55:22 +02:00
cpasjuste
a10e1c5b40 switch: fix wrong keyboard keys events 2021-06-24 13:42:55 +02:00
cpasjuste
177b651fe6 switch: update touch interface to new hid api 2021-06-24 13:31:47 +02:00
cpasjuste
75258715b8 switch: fix mouse interface 2021-06-24 12:54:59 +02:00
cpasjuste
2157021aa3 switch: update keyboard interface to new hid api 2021-06-24 12:37:46 +02:00
cpasjuste
b4f02bcaca switch: use pthreads 2021-06-22 14:33:02 +02:00
cpasjuste
4eb5d77750 switch: add power support 2021-06-22 14:28:56 +02:00
cpasjuste
e3a6834904 switch: add filesystem support 2021-06-22 14:26:31 +02:00
cpasjuste
8f4049c6f8 switch: add gitignore from sdl2 main 2021-06-22 14:24:05 +02:00
cpasjuste
94b2c02e02 switch: add cmake support
switch: update for latest sdl2 changes
switch: update for latest libnx hid changes
2021-06-22 14:21:29 +02:00
Vicki Pfau
cd14a6c0b6 switch-sdl2: Fix importing SDL2 on platforms that only support static libs 2021-06-18 15:08:55 +01:00
Julian Uy
995ae3fbef Set SDL_HINT_TOUCH_MOUSE_EVENTS with priority SDL_HINT_DEFAULT (#56)
This will ensure that the hint won't be overwritten if the hint is set before SDL is initialized
2021-06-18 15:08:55 +01:00
Cpasjuste
2350060886 switch: add joystick rumble support (#54) 2021-06-18 15:08:55 +01:00
Cpasjuste
911c2b2833 switch: fix exit crash when using SDL_GL_Load/UnloadLibrary (#53) 2021-06-18 15:08:55 +01:00
Cpasjuste
69747d1378 switch: add software keyboard support (#49) 2021-06-18 15:08:55 +01:00
Matthieu Milan
f94ecdc57f switch: enable SDL_SetRelativeMouseMode (#47) 2021-06-18 15:08:55 +01:00
rsn8887
9d5383ff8f switch: fix touch creating double events 2021-06-18 15:08:55 +01:00
Cpasjuste
1b31368a40 switch: handle SDL_WINDOW_RESIZABLE 2021-06-18 15:08:55 +01:00
Cpasjuste
220f042d06 switch: fix window size handling 2021-06-18 15:08:55 +01:00
Matthieu Milan
d4f7e2d03e switch: fix crash on exit (#42) 2021-06-18 15:08:55 +01:00
cpasjuste
bf7515613e switch: update for release-2.0.12 2021-06-18 15:08:55 +01:00
cpasjuste
971b372465 switch: update configure.ac, regenerate configure 2021-06-18 15:08:55 +01:00
Julian Uy
088d2b287e Fix compilation of cpuinfo module (#41) 2021-06-18 15:08:55 +01:00
cpasjuste
16431f9db0 switch: use switch timer 2021-06-18 15:08:55 +01:00
cpasjuste
4e7d34634d switch: cleanup SDL_config.h.in 2021-06-18 15:08:55 +01:00
cpasjuste
c91a7ee5de switch: revert SDL_config.h commit error 2021-06-18 15:08:55 +01:00
cpasjuste
ce8a66d17a switch: cleanup video interface 2021-06-18 15:08:55 +01:00
cpasjuste
6be89a4dc1 switch: fix switch joystick interface for latest sdl2 changes 2021-06-18 15:08:55 +01:00
cpasjuste
776bb49ba1 switch: minor cleanup 2021-06-18 15:08:55 +01:00
cpasjuste
481c32b352 switch: use unix timers 2021-06-18 15:08:55 +01:00
Cpasjuste
93d84618b2 switch: fix window cropping (#35) 2021-06-18 15:08:55 +01:00
rsn8887
c30ec89b7a Switch: Add support for physical keyboard and mouse (#33) 2021-06-18 15:08:55 +01:00
Dave Murphy
e2adbf54e6 regenerate configure 2021-06-18 15:08:55 +01:00
Dave Murphy
32f4915699 return switch cflags to sdl2-config 2021-06-18 15:08:55 +01:00
Cpasjuste
12f161236f switch: use audren audio
fix suspend, allow freqs other than 48khz
2021-06-18 15:08:55 +01:00
Cpasjuste
0c22a3c059 switch: lower down thread priority for SDL_THREAD_PRIORITY_HIGH
major speed improvement when audio is used
2021-06-18 15:08:55 +01:00
Cpasjuste
c465ab9b4d Switch sdl2 syscond fix (#28)
* switch: return SDL_MUTEX_TIMEDOUT when SDL_CondWaitTimeout... timeout
2021-06-18 15:08:55 +01:00
Cpasjuste
8629d3ff0b switch: fix SDL_CondWaitTimeout (#27) 2021-06-18 15:08:55 +01:00
Cpasjuste
45b864bb7b switch: use new gfx (#26) 2021-06-18 15:08:55 +01:00
Cpasjuste
6748b87af8 switch: use c11 threads 2021-06-18 15:08:55 +01:00
rsn8887
063a1c9265 switch: support reading SL/SR buttons on LAYOUT_LEFT and LAYOUT_RIGHT (#23) 2021-06-18 15:08:55 +01:00
Cpasjuste
2ca320b95a switch: remove SDL_LoadFunction/SDL_UnloadObject from SDL_switchopengles.c(#22)
Functions already defined in dummy loadso
2021-06-18 15:08:55 +01:00
Dave Murphy
8a391fc6ce regenerate configure 2021-06-18 15:08:55 +01:00
Cpasjuste
a96c709351 switch: increase thread stack size (fix a lot of stuff)
switch: enable load balancing across cores (@fincs)
2021-06-18 15:08:55 +01:00
Cpasjuste
2776779715 switch: move to opengles 2 renderer
* switch: move to opengles 2 rendering

* switch: remove libglad dependecy

* switch: minor cleanup

* switch: minor cleanup 2

* switch: use SDL2 EGL video, fix inputs, major cleanup

* switch: fix configure flags (static EGL funcs)

* switch: update to latest mesa (remove SDL_egl.c hacks)

* switch: restore vanilla SDL_egl.c (remove crap)

* switch: use RGBA8888 display mode instead of ARGB888

* switch: add "multiple display" mode support
2021-06-18 15:08:55 +01:00
Cpasjuste
9e06af0445 switch: update for latest libnx 2021-06-18 15:08:55 +01:00
Dave Murphy
43be1d5030 remove specs 2021-06-18 15:08:55 +01:00