Cameron Gutman
b7c1fbf9f0
WGI: Fix a couple of reference leaks
2022-08-28 17:38:02 -05:00
Sam Lantinga
0db1813049
Applied OpenBSD patch
...
http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/devel/sdl2/patches/patch-src_joystick_bsd_SDL_bsdjoystick_c?rev=1.5&content-type=text/plain&hideattic=1
2022-08-28 07:27:01 -07:00
Mathieu Eyraud
b8af865f18
Fix candidate list size for Windows IME
...
Adjust candidate count so list is not draw bigger that needed. This also fix potential uninitialised read of variable `candsize[i]` if `vertical` is false.
2022-08-28 06:27:24 -07:00
SDL Wiki Bot
644a4e5b31
Sync SDL wiki -> header
2022-08-28 02:01:12 +00:00
Sam Lantinga
3cbfd75d0f
Re-added the CRC to the joystick guid
...
This is now used as a crc field in the mapping rather than directly in mapping guids, for better mapping compatibility between versions of SDL.
Added SDL_GetJoystickGUIDInfo() to get device information encoded in a joystick GUID, so that mapping programs can clear the CRC from the GUID when generating mappings.
sort_controllers.py has been updated to extract the CRC from mappings created by older mapping programs and convert it into the new crc field. It will also take the CRC into account when checking for duplicate mappings.
Also regenerated the GUIDs for the PS2/PSP/Vita controller mappings, fixing https://github.com/libsdl-org/SDL/issues/6151
2022-08-27 19:00:31 -07:00
Francisco Javier Trujillo Mata
b9e3cae572
Add more valid configurations to PS2 audio driver
2022-08-27 18:34:33 -07:00
Sam Lantinga
d7fae33967
Regenerated configure
2022-08-27 15:18:22 -07:00
Simon McVittie
732e1530e3
autotools: Require GNU sort
...
find_lib() uses sort -V, which is a GNU extension. Users of non-GNU
operating systems should either install GNU coreutils (assumed to
provide a gsort executable), or use the CMake build system.
Resolves: https://github.com/libsdl-org/SDL/issues/6106
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-08-27 15:14:36 -07:00
Sam Lantinga
b188a916ff
Fixed uhid device name for non-OpenBSD platforms
2022-08-27 09:46:28 -07:00
Brad Smith
3f93ec470a
Add support for OpenBSD's ujoy(4)
2022-08-27 09:45:08 -07:00
Sam Lantinga
9a01eac57d
Temporarily disable joystick GUID CRCs
2022-08-26 13:45:05 -07:00
Sam Lantinga
3d516b841a
Fixed macOS framework detection in sdl2.m4
...
Fixes https://github.com/libsdl-org/SDL/issues/6141
2022-08-26 09:12:56 -07:00
Charlie Birks
d75fb0995d
emscripten: Add a hint for specifying the canvas selector
...
Now that we're not going through EGL, this is easy
2022-08-26 15:20:24 +01:00
Charlie Birks
b5aedaad59
emscripten: Modify UpdateWindowFramebuffer
...
To work with multiple canvases
2022-08-26 15:20:24 +01:00
Charlie Birks
539efc1bba
emscripten: Return an error for webgl context limitations
2022-08-26 15:18:22 +01:00
Charlie Birks
eebbf3457c
emscripten: Use emscripten_webgl_ API directly
2022-08-26 15:18:19 +01:00
Sam Lantinga
f6c2c22d38
Don't try to use the charging port for the PowerA wireless controller as an input device
2022-08-25 22:25:25 -07:00
Sam Lantinga
f1aa843415
Don't report rumble capability for Nintendo Online controllers
2022-08-25 21:51:43 -07:00
Steven Noonan
9ce9c2530a
SDL_windowsmodes: fix WIN_GetDisplayNameVista source identifier number
...
This was getting the wrong monitor's name because the source identifier
was not being included in the DisplayConfigGetDeviceInfo request.
2022-08-25 18:44:46 -07:00
Anonymous Maarten
32c4996c04
cmake: add SDL_IBUS option to enable/disable DBUS + test sys/inotify.h
2022-08-25 18:12:16 -07:00
Anonymous Maarten
c8b56ee5e6
cmake: add SDL_DBUS option to enable/disable DBUS
2022-08-25 18:12:16 -07:00
Anonymous Maarten
032ff64041
cmake: OpenIndiana announces SunOS, which is the former name of Solaris
2022-08-25 18:12:16 -07:00
Anonymous Maarten
ce227aa69e
wayland: fix build with SDL_WAYLAND_SHARED=OFF/--enable-wayland-shared=no
2022-08-25 17:15:54 -07:00
Anonymous Maarten
711846c1f4
cmake: fix build with SDL_WAYLAND_SHARED=OFF
2022-08-25 17:15:54 -07:00
Sam Lantinga
679582e702
Fixed crash if there are no devices available
2022-08-25 11:07:20 -07:00
SDL Wiki Bot
111626f4cf
Sync SDL wiki -> header
2022-08-25 17:17:12 +00:00
Sam Lantinga
e4b85091fd
Document the range of trigger axes for virtual joysticks
...
Fixes https://github.com/libsdl-org/SDL/issues/6130
2022-08-25 10:15:45 -07:00
DomGries
40b2499273
Fix building with SDL_DISABLE_WINDOWS_IME
...
Regression of f317d619cc (diff-bff8f3e638d51e86cb6f0f42e2c527549d649951b7aa5ec4a539e865a5b57027R398)
2022-08-25 06:59:24 -07:00
Sam Lantinga
babaa7d2bd
Fixed PS3 accelerometer values on little endian systems
2022-08-24 16:10:47 -07:00
Julio C. Rocha
d1e9015639
Update .gitignore
2022-08-24 15:34:46 -07:00
Julio C. Rocha
05983fb8ee
Add Mayflash PC043 adapter
2022-08-24 15:34:46 -07:00
Sam Lantinga
e7332cd814
Fixed zero CRC matching in the controller mapping database
2022-08-24 15:28:56 -07:00
Francisco Javier Trujillo Mata
a4f84803c4
Disable fileXio and patch fio
2022-08-24 12:23:56 -07:00
Yevhen Babiichuk (DustDFG)
e6864d17b6
Update minimal required Android SDK version
...
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2022-08-24 11:39:32 -07:00
Cameron Gutman
2ceea46061
cmake: Enable CET compatibility for x86/x64 targets using VS 16.7+
2022-08-24 11:29:36 -07:00
Noel Berry
00452e47fa
Adding SDL_GetWindowSizeInPixels for window size in pixels ( #6112 )
2022-08-24 11:25:13 -07:00
Sam Lantinga
70c781c803
Fixed build warning because of redefining string functions
2022-08-24 10:25:56 -07:00
antonino
5f79cd1600
Fixed spacing
2022-08-24 10:10:49 -07:00
antonino
dd68eb5c01
free drm prop before returning
2022-08-24 10:10:49 -07:00
Sam Lantinga
970344719a
Fixed the Nintendo Switch Pro mappings on iOS/tvOS
2022-08-24 09:39:01 -07:00
Sam Lantinga
1fc7f68118
Document that it's not possible to use the HIDAPI driver for PS3 controllers on Windows
2022-08-24 06:38:36 -07:00
Anonymous Maarten
5eb0f4328d
cmake: always create SDL2::SDL2main target in autotools' cmake config script
2022-08-24 06:20:28 -07:00
Anonymous Maarten
dc2ef31c29
cmake: create SDL2::SDL2main target in Apple framework official release
2022-08-24 06:20:28 -07:00
Sam Lantinga
645b0f6abf
Enable HIDAPI PS3 support by default on macOS
2022-08-24 01:30:29 -07:00
Sam Lantinga
3ed8e219a5
Fixed building HIDAPI libusb support on Windows
2022-08-24 01:25:14 -07:00
Sam Lantinga
3d62ebdbf6
Fixed HIDAPI PS3 support on macOS
2022-08-24 00:34:30 -07:00
Sam Lantinga
6ac6accd33
Added SDL_hidapi_ps3.c to the Xcode project
2022-08-23 23:05:11 -07:00
Sam Lantinga
aaee6e242c
Added missing file
2022-08-23 22:56:48 -07:00
Sam Lantinga
7cfef177c1
Added SDL_hidapi_ps3.c to the Windows projects
2022-08-23 22:53:43 -07:00
Sam Lantinga
b6f96b69aa
Initial HIDAPI driver support for the PS3 controller
2022-08-23 22:45:37 -07:00