cpasjuste
c29f5893c8
switch: cleanup joystick interface
2021-06-25 14:08:47 +02:00
Sam Lantinga
5042ab6f24
Added Linux and macOS mappings for the DirectInput mode of the Amazon Luna Controller
2021-06-24 18:09:06 -07:00
Sam Lantinga
5b051459ed
Fixed warnings on Windows
2021-06-24 18:09:04 -07:00
Sam Lantinga
99700a5c52
SDL: add Windows mappings for Luna controllers for USB DirectInput mode and BT. Note: the triggers do not seem to work in BT mode.
2021-06-24 18:09:01 -07:00
Ozkan Sezer
33b84c8d15
s/memcmp/SDL_memcmp/ for conistency
2021-06-24 23:10:56 +03:00
Ethan Lee
56b77b12bc
cocoa: Implement FlashWindow
2021-06-24 13:08:26 -07:00
scribam
c2e8a791bb
SDL_windowsevents: add support for multiple mice
2021-06-24 12:15:54 -07:00
Cameron Gutman
7948c16df2
Pump events each time through the loop in SDL_WaitEventTimeout_Device()
...
Not only is it more efficient to batch process pending events, it is
necessary for correctness with the Win32 backend. WIN_PumpEvents() runs
periodic updates of the cursor clip region and disambiguation of
left and right shift keys in addition to standard event processing.
2021-06-24 12:14:17 -07:00
Cameron Gutman
105de64c2d
Only queue one wakeup event per wait
...
Queuing more than one can lead to a spurious wakeup on the next wait.
2021-06-24 12:14:17 -07:00
Anthony Pesch
c262569cd8
kmsdrm: fix KMSDRM_SetDisplayMode being called for the default desktop mode doing nothing
2021-06-24 12:12:29 -07:00
Anthony Pesch
98bda39186
kmsdrm: sync the display's current mode with what's set in KMSDRM_CreateSurfaces
2021-06-24 12:12:29 -07:00
Anthony Pesch
d031a24e00
kmsdrm: defer surface recreation inside of KMSDRM_SetWindowSize and
...
KMSDRM_SetWindowFullscreen as is done in KMSDRM_SetWindowDisplayMode
2021-06-24 12:12:29 -07:00
Anthony Pesch
5a296e2589
kmsdrm: avoid overriding the mode requested by SDL_SetWindowDisplayMode
...
when recreating surfaces
2021-06-24 12:12:29 -07:00
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
Sam Lantinga
814285d6e3
Workaround for crash on Apple Mac M1 hardware
2021-06-23 09:19:02 -07:00
Cameron Cawley
bc141e4458
Remove -static-libgcc from sdl2-config output
2021-06-23 17:41:25 +03:00
Ozkan Sezer
a6715a20d8
revert the previous -Wc,-static-libgcc patch:
...
Someone reported breakage with that:
bc51de2f87 (commitcomment-52550755)
2021-06-23 14:56:02 +03:00
Ozkan Sezer
bc51de2f87
regenerated configure script.
2021-06-22 18:11:24 +03:00
Cameron Cawley
23575a42e0
Ensure that libgcc is linked statically on Windows
2021-06-22 18:10:11 +03: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
Sam Lantinga
41fab8532d
ControllerList: set the default deadzone for Ps5 controller back to same one as Xbox controllers. Too many users complained about drift.
2021-06-18 18:10:24 -07:00
Sam Lantinga
a8b28939a6
ControllerList: add more Xbox controllers from minidumps
2021-06-18 18:10:23 -07:00
Sam Lantinga
08eff56a5b
ControllerList: add Brooks Mars controller to PS4 controller list
2021-06-18 18:10:22 -07:00
Sam Lantinga
afd100f02b
Added support for the PowerA Fusion Pro 2 and the PDP Xbox Series X Afterglow and Blue controllers
2021-06-18 17:37:46 -07: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