96361fc476
cmake: create and install sdl2.pc for MSVC & WATCOM
Anonymous Maarten
2022-10-04 21:17:10 +02:00
11d53c84a7
cmake: use pkg-config's library dirs as hint for finding a shared library
Anonymous Maarten
2022-10-20 01:11:39 +02:00
94ac8ae08b
cmake: else() does not need an argument
Anonymous Maarten
2022-10-20 13:29:35 +02:00
c6e8961979
Define _USE_MATH_DEFINES for Visual Studio (thanks @pionere!)
Sam Lantinga
2022-10-19 08:05:47 -07:00
d542f43b2a
cmake: add SDL_INSTALL_CMAKEDIR cache variable to override location of cmake config files
Anonymous Maarten
2022-10-19 16:03:43 +02:00
f28cf2b0d3
Also remove the OpenBSD comment about OSS
Brad Smith
2022-10-19 02:28:36 -04:00
e7ab581d79
coreaudio: Dispose of AudioQueue before waiting on the thread.
Ryan C. Gordon
2022-10-19 09:14:16 -04:00
5b6d36fd9f
Merge commit 'aefc6b5bb57cd3aadc6964e26f2caac1d1c5f624' into main
Sam Lantinga
2022-10-18 09:21:53 -07:00
764e7c4f4b
Merge commit '965ba1e09712fc57968d87c1cf60c541529fbd20' into main
Sam Lantinga
2022-10-18 09:21:51 -07:00
8b6f726546
Merge commit 'dfbb93dd0c4bcdea2a3edc0e3cb0f5dae153d16e' into main
Sam Lantinga
2022-10-18 09:21:48 -07:00
86695af483
Merge commit 'e8a4c23ce560dad786922e8d51496da2687e1723' into main
Sam Lantinga
2022-10-18 09:21:46 -07:00
8f7577d70a
Merge commit '790fa3156cfee847a7c0b34986de0cd7fdd7438f' into main
Sam Lantinga
2022-10-18 09:21:44 -07:00
ac68c34f76
Merge commit '3ec4c9b3b9a29f17482ad2e130d6b14d79c5cb97' into main
Sam Lantinga
2022-10-18 09:21:42 -07:00
66226f6520
Merge commit '3d99d31026bb69e208ac82c30c67e62ca1333141' into main
Sam Lantinga
2022-10-18 09:21:40 -07:00
aefc6b5bb5
Renamed variables, index is the singular of indices
Sam Lantinga
2022-10-18 08:40:03 -07:00
965ba1e097
fix SDL_SendEditingText when long composition text is enabled and strlen(text) == SDL_TEXTEDITINGEVENT_TEXT_SIZE
GNQG
2022-10-18 19:03:19 +09:00
dfbb93dd0c
SDL_Renderer / GLES2: add specific list of indice to render rect (see #6401)
Sylvain
2022-10-18 11:31:30 +02:00
e8a4c23ce5
Revert commit 790fa3156c. SDL_BLENDMODE_INVALID case is probably used for custom blendmode
Sylvain
2022-10-18 10:45:01 +02:00
790fa3156c
Fix warning: enumeration value 'SDL_BLENDMODE_INVALID' not explicitly handled in switch
Sylvain
2022-10-18 10:41:10 +02:00
3d99d31026
Fixed bug #6401 - back-end can choose the order the triangles when rendering rects, attempt to fix small glitch rendering.
Sylvain
2022-10-18 10:34:56 +02:00
428b5ae546
PSP: Reorder extra imports
Wouter Wijsman
2022-10-18 10:34:51 +02:00
285cbf6fdd
Revert commit 485bb3565b. "Fixed bug #6401 - change the order of triangles when using RenderCopy, RenderCopyEx and RenderFillRect" because the glitch reappears on other backend
Sylvain
2022-10-18 10:04:06 +02:00
0bc852ce53
Revert "Disable the RAWINPUT joystick driver by default"
Sam Lantinga
2022-10-17 17:43:06 -07:00
7e1088167a
Fixed command modifier on macOS
Deve
2022-10-18 01:07:54 +02:00
cdf312c83d
Fixed mouse warp after resizing window on macOS.
Deve
2022-10-18 00:48:55 +02:00
7c7cd2a605
Fix issue #6037 (incorrect modifier flags on Wayland)
David Jacewicz
2022-10-17 14:04:29 -04:00
3903f4c88a
PSP: Use vramalloc instead of conflicting valloc function
Wouter Wijsman
2022-10-17 21:59:38 +02:00
333935ff3f
Make sure we completely unlock joysticks when opening HIDAPI devices
Sam Lantinga
2022-10-17 11:10:53 -07:00
47ba997f06
Disable the RAWINPUT joystick driver by default
Sam Lantinga
2022-10-17 07:39:52 -07:00
5025f24033
Don't use RAWINPUT joystick driver on Windows XP
Sam Lantinga
2022-10-17 07:32:44 -07:00
f4e3af15a1
Simplify OSS test by removing OpenBSD specific location of the soundcard.h header
Brad Smith
2022-10-17 07:23:40 -04:00
485bb3565b
Fixed bug #6401 - change the order of triangles when using RenderCopy, RenderCopyEx and RenderFillRect
Sylvain
2022-10-17 13:30:30 +02:00
70dfd6dd1a
Added mapping for Xbox Series X controller
Sam Lantinga
2022-10-16 09:05:13 -07:00
ed412c1385
wayland: Cleanup event source comments, headers, and error reporting
Frank Praznik
2022-10-15 14:05:35 -04:00
22461383c6
SDL_audiocvt: Respct the SDL_HINT_AUDIO_RESAMPLING_MODE hint
Daniel Bomar
2022-10-15 15:54:12 -05:00
e8fdb861ef
Removed redundant masking when loading the IMU calibration
Sam Lantinga
2022-10-15 10:02:39 -07:00
a6573f94ab
Fix bugs in IMU calibration loading for Nintendo Controllers
happyharryh
2022-10-16 00:23:25 +08:00
6204768653
wayland: Don't block on libdecor_dispatch()
Frank Praznik
2022-10-13 16:24:13 -04:00
e89389ba0e
wayland: Use MAP_PRIVATE when mapping the keyboard keymap file descriptor
Frank Praznik
2022-10-14 20:41:10 -04:00
5129a07707
Steam Controller support defaults off, as documented in SDL_hints.h
Sam Lantinga
2022-10-14 14:35:52 -07:00
6af17369ca
Added mapping for Qanba Drone on Linux without HIDAPI
Sam Lantinga
2022-10-14 10:36:24 -07:00
93b7196763
Only update the battery level if we're on Bluetooth
Sam Lantinga
2022-10-14 10:32:03 -07:00
120a957d07
Added support for the Qanba Drone Arcade Stick
Sam Lantinga
2022-10-14 09:57:02 -07:00
6bb0c2a5c2
Added documentation for some scancodes
Sam Lantinga
2022-10-14 06:33:38 -07:00
91ff88451b
Disable "The key you just pressed is not recognized by SDL." message by default
Sam Lantinga
2022-10-13 23:56:17 -07:00
139192140c
Fixed reported cases of "Keyboard layout unknown" messages
Sam Lantinga
2022-10-13 23:23:55 -07:00
2c1923859a
Don't remove entries from an existing scancode keymap
Sam Lantinga
2022-10-13 22:50:57 -07:00
99f2a50394
X11 scancode mapping cleanup
Sam Lantinga
2022-10-13 22:40:24 -07:00
f5afb7d11a
directfb: Fix return type of DirectFB_RenderPresent()
Cameron Gutman
2022-10-13 18:44:15 -05:00
fc73386f45
Fixed the mapping from raw joystick values to the expected [SDL_JOYSTICK_AXIS_MIN, SDL_JOYSTICK_AXIS_MAX] range. (thanks Tas!)
Sam Lantinga
2022-10-12 21:44:50 -07:00
eea9f638e2
CI: Update to actions/checkout@v3.
Pierre Wendling
2022-10-12 18:51:59 -04:00
7d230af51d
testevdev: Explain why the test data is encoded the way it is
Simon McVittie
2022-10-12 12:41:30 +01:00
81dee31949
testevdev: Add a static assertion for supported sizeof(long)
Simon McVittie
2022-10-12 12:36:41 +01:00
5b9608e08c
Remove D3D9 workarounds for Watcom.
Pierre Wendling
2022-10-11 23:35:33 -04:00
2d7816e358
dynapi: Disable support for API call logging by default.
Ryan C. Gordon
2022-10-12 09:59:31 -04:00
f69e004d01
Android default to dynamic API disabled (see #6381)
Sylvain
2022-10-12 13:58:41 +02:00
f6ff87788a
Android default to dynamic API disabled (see #6381)
Sylvain
2022-10-12 13:55:14 +02:00