bdd1d035b7
cmake: Don't add /NODEFAULTLIB to link flags when building SDL-static
Anonymous Maarten
2022-07-28 02:38:04 +02:00
181877ebeb
Added SDL_hidapi_combined.c to the Xcode project
Sam Lantinga
2022-07-28 21:54:34 -07:00
f3c1194c0f
Removed obsolete comment
Sam Lantinga
2022-07-28 21:50:41 -07:00
aee179e46f
Removed debug output
Sam Lantinga
2022-07-28 21:50:20 -07:00
d8fd78736b
Added entry for the Nintendo Switch Joy-Con controller pair
Sam Lantinga
2022-07-28 21:44:23 -07:00
875b737c64
Added support for the Nintendo Online NES Controllers to the HIDAPI driver
Sam Lantinga
2022-07-28 21:39:32 -07:00
45c1cc8177
Compatible with including as <SDL2/SDL.h>
Xiaofeng Wang
2022-07-29 11:30:17 +08:00
ab967475c6
Greatly improved Nintendo Joy-Con support using the HIDAPI driver
Sam Lantinga
2022-07-28 19:38:38 -07:00
dfed862a66
Fixed variable shadow warning
Sam Lantinga
2022-07-28 19:35:46 -07:00
2fa2f9ff77
Greatly improved Nintendo Joy-Con support using the HIDAPI driver
Sam Lantinga
2022-07-28 19:22:27 -07:00
def60ce6fe
Fixed the name of the HIDAPI Joy-Con controller for consistency with other drivers
Sam Lantinga
2022-07-27 19:20:42 -07:00
0f1be9401f
Updated mapping for Joy-Con controllers using hid-nintendo
Sam Lantinga
2022-07-27 17:32:51 -07:00
756978a236
Left and right single Joy-Con controllers are mapped as individual mini controllers
Sam Lantinga
2022-07-27 16:17:32 -07:00
4990bd0517
Added debug code to show available inputs on iOS/tvOS controllers
Sam Lantinga
2022-07-27 16:17:32 -07:00
65473ae36d
autoconf: use ax_compute_relative_paths
Anonymous Maarten
2022-07-25 02:01:59 +02:00
dbf7940541
Enable capturing raw Xinput2 touch events and use to flag global mouse state as dirty
Sam Lantinga
2022-07-27 10:31:24 -07:00
42165fe8d1
kmsdrm: slightly better device index hint parsing.
Ryan C. Gordon
2022-07-27 12:12:03 -04:00
02c8747176
math.h does not always provide M_PI
Anonymous Maarten
2022-07-27 15:05:41 +02:00
5da85376b9
stdlib: move all mslibc functions to SDL_mslibc.c
Anonymous Maarten
2022-07-26 21:47:52 +02:00
a169259f62
Actually we don't need to unlock to send k_eSwitchProprietaryCommandIDs_ForceUSB since we don't wait for reply
Sam Lantinga
2022-07-27 09:05:02 -07:00
c51464d9d8
Put the Nintendo Switch Pro controller back into enhanced mode as needed
Sam Lantinga
2022-07-27 09:00:39 -07:00
5c70e45c53
cmake: don't use result of 'find_library' for Android libraries
Anonymous Maarten
2022-07-25 23:46:36 +02:00
430c39082f
ci: test 'sdl2-config --static-libs' + 'pkg-config sdl2 --static' on ci
Anonymous Maarten
2022-07-25 23:35:59 +02:00
4690689a4c
cmake: on Apple, don't use find_library for frameworks + use EXTRA_LDFLAGS
Anonymous Maarten
2022-07-25 23:06:52 +02:00
613ce7850e
Fixed interpreting SDL_KMSDRM_DEVICE_INDEX="" as index 0
Sam Lantinga
2022-07-26 13:34:27 -07:00
36d456797b
CI: Fix CMake workflow.
Pierre Wendling
2022-07-26 15:42:01 -04:00
cc982ea7a7
kmsdrm: let device indexes be > 2 digits.
Ryan C. Gordon
2022-07-26 15:43:34 -04:00
c37c1f7ac3
CI: Make macOS universal build with CMake.
Pierre Wendling
2022-07-26 15:24:38 -04:00
1f276a5148
Fix Main Thread Checker warning on macOS
diddily
2022-07-26 13:30:59 -04:00
31d38f2f30
WhatsNew.txt: Note that minimum macOS version is now 10.9.
Ryan C. Gordon
2022-07-26 15:14:37 -04:00
542a4da3d6
kmsdrm: check SDL_HINT_KMSDRM_DEVICE_INDEX hint in dri_getindex().
Ryan C. Gordon
2022-07-26 15:11:19 -04:00
218c3dbb34
cocoa: Don't crash if moving a message box created before SDL_Init.
Ryan C. Gordon
2022-07-26 14:45:26 -04:00
f789bc7d5f
Updated minimum OS targets on Apple platforms to match supported platforms using Xcode 13
Sam Lantinga
2022-07-26 11:36:01 -07:00
8ff738f234
audio: Report SDL_AUDIODEVICEREMOVED for unopened devices.
Ryan C. Gordon
2022-07-26 12:40:47 -04:00
5d85c7d300
kmsdrm: Added a hint to specify device index.
Ryan C. Gordon
2022-07-26 00:19:16 -04:00
20a76b0e3e
video: removed unused devindex argument from bootstrap's create method.
Ryan C. Gordon
2022-07-25 23:06:58 -04:00
cbb3f4ca37
Add SDL_guid.h to the global SDL header
Sam Lantinga
2022-07-25 19:52:46 -07:00
12211df669
hide SDL_GenerateAssertionReport in case SDL_ASSERT_LEVEL is 0 otherwise SDL_PromptAssertion (and SDL_GenerateAssertionReport) can not be eliminated
pionere
2022-02-05 10:44:26 +01:00
a423848ea0
Allow floating point values for SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED
Sam Lantinga
2022-07-25 11:26:18 -07:00
1e492b2f6d
Improve behavior of SDL_events_need_periodic_poll() and SDL_events_need_polling()
diddily
2022-07-25 10:12:53 -04:00
d9bda89fce
Fix updating SDL_update_joysticks and SDL_update_sensors in response to hint changes
diddily
2022-07-25 10:03:36 -04:00