This website requires JavaScript.
ffb4d960b2
Disabled Xbox protocol debugging
Sam Lantinga
2020-11-19 19:09:34 -08:00
c9b097e659
Clarify the meaning of the rumble enable bits for the PS5 controller
Sam Lantinga
2020-11-19 13:31:16 -08:00
c85623d790
Re-enable haptic audio after rumble on PS5 controller
Sam Lantinga
2020-11-19 13:10:14 -08:00
b0b76a61c7
Fixed rumble on PS5 controllers connected to Windows over Bluetooth
Sam Lantinga
2020-11-19 07:12:53 -08:00
8c3196da60
Fixed some compiler warnings
Sam Lantinga
2020-11-18 21:33:11 -08:00
45f1437549
Experimenting with requesting the serial number on an Xbox One controller
Sam Lantinga
2020-11-18 20:34:12 -08:00
963d8b3f40
Fixed bits in the initial Xbox One protocol ack
Sam Lantinga
2020-11-18 20:34:10 -08:00
cd51a51f00
Updated with a better understanding of the Xbox One controller protocol
Sam Lantinga
2020-11-18 20:34:08 -08:00
335cfa107b
x11: Don't crash if a messagebox has a NULL title string.
Ryan C. Gordon
2020-11-18 11:24:08 -05:00
51ea6a6d44
Don't send controller gyro and accelerometer updates if the values haven't changed.
Sam Lantinga
2020-11-17 22:09:52 -08:00
463d84a860
Added support for the PS5 controller gyro and accelerometer
Sam Lantinga
2020-11-17 10:56:56 -08:00
fcb21aa883
Added API for sensors on game controllers
Sam Lantinga
2020-11-17 10:30:20 -08:00
b79e1baa36
Added weak linking to hidapi framework
Sam Lantinga
2020-11-17 10:29:36 -08:00
0150455d2c
Added SDL_crc32.c to the Windows RT projects
Sam Lantinga
2020-11-16 17:42:04 -08:00
d140d88744
Added SDL_JoystickGetSerial() and SDL_GameControllerGetSerial()
Sam Lantinga
2020-11-16 17:36:47 -08:00
55e59a4f33
crc32: Fixed include path.
Ryan C. Gordon
2020-11-16 18:48:13 -05:00
dfc24e05bc
fix os/2 build
Ozkan Sezer
2020-11-17 02:39:56 +03:00
7bbea0bb94
Fixed build warning
Sam Lantinga
2020-11-16 15:10:02 -08:00
71e32f5e1b
Added SDL_crc32()
Sam Lantinga
2020-11-16 15:00:15 -08:00
3d48fc05c3
Added notes about the pad lights on the PS5 controller
Sam Lantinga
2020-11-16 13:21:02 -08:00
4514ad573e
Fixed updating LED state when starting application with Bluetooth PS5 controller connected
Sam Lantinga
2020-11-16 13:07:11 -08:00
a37e3ae218
Implemented PS5 effects over Bluetooth
Sam Lantinga
2020-11-16 11:21:58 -08:00
c6c116e847
Implemented setting the LED color on the PS5 controller
Sam Lantinga
2020-11-16 10:51:13 -08:00
fe4da4206a
Improve LED color calculation, don't set LED unless left thumbstick is moved
Sam Lantinga
2020-11-16 10:39:44 -08:00
aa7c3eae19
Fixed size of rumble packet
Sam Lantinga
2020-11-16 09:16:01 -08:00
f28c01a4fb
Fixed rumble order on PS5
Sam Lantinga
2020-11-16 09:11:15 -08:00
eb94c19a63
SDL: fix iOS build
Sam Lantinga
2020-11-16 08:09:15 -08:00
8243bd1dc6
SDL: Plumb PS5 rumble to output report
Sam Lantinga
2020-11-16 08:09:13 -08:00
c0f7325b85
SDL_PrivateJoystickForceRecentering: fix wrong loop counter usage.
Ozkan Sezer
2020-11-15 17:10:15 +03:00
1ed36d21b0
egl: Fix detection in configure script on systems without X11 (bug #5270 )
Brian Kubisiak
2020-11-15 04:10:02 +03:00
bbbec723e5
SDL_config_windows.h: define HAVE_TRUNC[F] for Visual Studio >= 2013
Ozkan Sezer
2020-11-14 14:03:40 +03:00
3e40b87f56
SDL_config_os2.h: undefine HAVE_TRUNC
Ozkan Sezer
2020-11-14 14:03:40 +03:00
bee8db3b04
config: Make sure HAVE_TRUNC and HAVE_TRUNCF are defined as appropriate.
Ryan C. Gordon
2020-11-14 02:16:41 -05:00
5c34c973e6
Clarify that we're using button indices, not using gamepad button names
Sam Lantinga
2020-11-13 19:40:25 -08:00
9f51fad361
Added support for the touchpad on PS4 and PS5 controllers
Sam Lantinga
2020-11-13 18:01:29 -08:00
78422fa3c8
Added more detail on the PS5 controller state packet and enable full reports over Bluetooth
Sam Lantinga
2020-11-13 13:17:07 -08:00
30371f2d4d
Fixed doubled report ID for Bluetooth Classic devices on Linux
Sam Lantinga
2020-11-13 13:17:04 -08:00
8cd4f364db
Mapped the touchpad click as SDL_CONTROLLER_BUTTON_MISC1 on the PS5 controller
Sam Lantinga
2020-11-12 20:02:31 -08:00
8e312a6a59
Fixed detecting Bluetooth XInput controllers on Windows
Sam Lantinga
2020-11-12 15:56:33 -08:00
8b29aaddbd
Fixed warning when building on Windows
Sam Lantinga
2020-11-12 14:34:11 -08:00
e0018d0869
Fixed Windows build
Sam Lantinga
2020-11-12 14:23:56 -08:00
0500c04468
Fix SDL_HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL also applying to HIGH priorities
Sam Lantinga
2020-11-12 07:53:05 -08:00
5b0d432942
Implemented trigger rumble in the HIDAPI Xbox One driver
Sam Lantinga
2020-11-12 07:53:03 -08:00
e749c1266f
Fixed overflow in trigger rumble calculation
Sam Lantinga
2020-11-12 07:53:01 -08:00
52486d018a
SDL_keycode.h (SDL_Keymod): remove comma at end of enumerator list
Ozkan Sezer
2020-11-12 15:10:00 +03:00
c122e9b9ce
linux/SDL_sysjoystick.c (MaybeRemoveDevice): remove SDL_USE_LIBUDEV guards
Ozkan Sezer
2020-11-12 14:11:50 +03:00
94a047f718
fix xcode project file permissions
Ozkan Sezer
2020-11-12 14:11:40 +03:00
83b653d55d
Fixed build warning
Sam Lantinga
2020-11-11 20:09:56 -08:00
dc76449661
Backed out change for bug 5335 - enable joystick/haptic/evdev support by default on FreeBSD
Sam Lantinga
2020-11-11 19:53:10 -08:00
76bd6cd2d9
Fixed bug 5326 - Logitech Extreme 3D joystick is listed as gamepad in linux section of SDL_gamecontrollerdb.h
Sam Lantinga
2020-11-11 19:45:56 -08:00
3160c7d66f
Fixed bug 5327 - When direct input fails to load, but a controlller is plugged in through another api, an access violation happens.
Sam Lantinga
2020-11-11 19:43:02 -08:00
502cfe314a
Fixed bug 5332 - WGI: Fix wrong level of indirection and implicit truncating cast.
Sam Lantinga
2020-11-11 19:39:46 -08:00
1822f97e5f
Fixed bug 5346 - Add FreeBSD evdev KBIO keyboard input driver
Sam Lantinga
2020-11-11 19:37:47 -08:00
38ed8a955a
Fixed bug 5335 - enable joystick/haptic/evdev support by default on FreeBSD
Sam Lantinga
2020-11-11 19:31:03 -08:00
320a7587d7
Fixed compiler warnings
Sam Lantinga
2020-11-11 19:26:59 -08:00
65847539dd
test: Add a unit test for input device classification heuristics This uses pre-recorded evdev capabilities, so that we can check for regressions without the devices having to be physically present.
Simon McVittie
2020-11-11 19:15:43 -08:00
b0eba1c55d
joystick: Use inotify to detect joystick unplug if not using udev This improves SDL's ability to detect joystick hotplug in a container environment.
Simon McVittie
2020-11-11 19:15:32 -08:00
aae53d5972
evdev: Detect whether input devices are accelerometers Anything with X, Y and Z axes but no buttons is probably an accelerometer (this is the assumption made in udev).
Simon McVittie
2020-11-11 19:15:09 -08:00
fdd945f2af
joystick: Use a better heuristic to guess what is a joystick Previously we only checked for at least one button or key and at least the X and Y absolute axes, but this has both false positives and false negatives.
Simon McVittie
2020-11-11 19:14:52 -08:00
8db3171b98
udev: Factor out SDL_EVDEV_GuessDeviceClass This works on capability bitfields that can either come from udev or from ioctls, so it is equally applicable to both udev and non-udev input device detection.
Simon McVittie
2020-11-11 19:14:34 -08:00
13e7d1a958
joystick: Allow libudev to be disabled at runtime Device enumeration via libudev can fail in a container for two reasons:
Simon McVittie
2020-11-11 19:14:11 -08:00
72379ba510
windows: Fix handling of swapped mouse buttons
Cameron Gutman
2020-08-25 21:22:00 -07:00
771732ed32
windows: Fix numpad arrow key scancodes with numlock off
Cameron Gutman
2020-08-27 17:54:52 -07:00
1e2caac58b
Added SDL_JoystickRumbleTriggers() and SDL_GameControllerRumbleTriggers()
Sam Lantinga
2020-11-11 18:57:37 -08:00
067630aef3
Fix hidapi for unhandled DS4 headset microphone data corrupting controller state
John "Nielk1" Klein
2020-11-11 03:47:08 -06:00
b6238c87e4
Don't try to build the RAWINPUT driver if HIDAPI is disabled
Sam Lantinga
2020-11-11 14:48:23 -08:00
d1e10c313e
Removed debug output
Sam Lantinga
2020-11-11 14:38:14 -08:00
07eae7d670
Fix process randomly getting killed when SDL_THREAD_PRIORITY_HIGH/TIME_CRITICAL is set
Sam Lantinga
2020-11-11 08:47:18 -08:00
59795822d0
make SDL_SensorGetDeviceNonPortableType match its prototype.
Ozkan Sezer
2020-11-11 12:33:55 +03:00
53b166797d
SIZE_MAX need not be defined in limits.h
Ozkan Sezer
2020-11-11 12:33:55 +03:00
e12457d8bf
Added support for the Xbox Series X controller to the HIDAPI driver
Sam Lantinga
2020-11-10 12:26:30 -08:00
7b5a0a9f97
uikit: Don't implement main() twice for iOS static libs.
Ryan C. Gordon
2020-11-10 13:12:10 -05:00
940419b0a6
uikit: Fixed a typo in a comment.
Ryan C. Gordon
2020-11-10 13:09:59 -05:00
c3dea23120
Added support for reading the paddles on a Xbox Elite Series 2 controller in Bluetooth mode
Sam Lantinga
2020-11-09 22:39:33 -08:00
02de820008
Add Zhaoxin processor support CPU Vendor ID "Shanghai" and "CentaurHauls" belongs to Zhaoxin.
Dylan Fan
2020-11-09 20:36:35 -08:00
fb4a406af2
Don't put 'm' in the GUID for Xbox and PS4 controllers on iOS
Sam Lantinga
2020-11-09 18:45:22 -08:00
f656d8456e
Fixed typo in the documentation
Sam Lantinga
2020-11-09 10:29:10 -08:00
f8b8bd0ba1
ControllerList: recategorize controller as swtich pro and not switch input-only controller
Sam Lantinga
2020-11-09 10:12:02 -08:00
f76ca05729
ControllerList: add unknown xbox controller from minidumps
Sam Lantinga
2020-11-09 10:11:59 -08:00
94924f012b
Fix failing to set high priority for threads on Linux desktop.
Sam Lantinga
2020-11-09 10:11:55 -08:00
abf9dfd5c2
Fix MakeThreadRealtime DBus method call on Linux, type mismatch due to copy paste.
Sam Lantinga
2020-11-09 10:11:38 -08:00
5d34e3c690
Fixed linking iOS shared library
Sam Lantinga
2020-11-09 09:47:19 -08:00
1577366c36
Fixed duplicated switch statement processing Xbox controller dpad state
Sam Lantinga
2020-11-08 23:49:03 -08:00
3d92e8c742
hidapi: Also parse data[12] with dpad values on the xb1s controller
Bart van der Werf
2020-10-21 10:43:46 -04:00
1ef45c1801
Fixed bug 5339 - Minor memory leak in SDL_x11events.c
Sam Lantinga
2020-11-08 23:40:17 -08:00
723d76c8ec
Fixed bug 5333 - Replace character of legacy code page with utf-8 one.
Sam Lantinga
2020-11-08 23:34:59 -08:00
c3a32605f8
testvulkan: Patched to compile with SDL's internal Vulkan headers.
Ryan C. Gordon
2020-11-09 04:55:15 -05:00
0e4ce84801
opengl: Make diagonal lines match the software renderer.
Ryan C. Gordon
2020-11-08 20:57:17 -05:00
da49f79500
opengles: use glDrawArrays() correctly with GL_LINE_STRIP.
Ryan C. Gordon
2020-11-08 19:56:12 -05:00
de6d0ac55a
uikit: Patched to compile on older iOS SDKs.
Ryan C. Gordon
2020-11-08 18:11:42 -05:00
93a2c58c7e
opengl: Use GL_LINE_STRIP instead of breaking down into seperate GL_LINES.
Ryan C. Gordon
2020-11-08 12:37:09 -05:00
b198febb62
Documentation: fix minor gamecontroller parameter warning
Sylvain Becker
2020-11-08 10:22:27 +01:00
731a5d1c53
metal: Fix line drawing, again.
Ryan C. Gordon
2020-11-08 03:18:05 -05:00
4ea1a10bd2
Added stub controller LED functions for WGI and RAWINPUT (thanks meyraud!)
Sam Lantinga
2020-11-07 02:49:22 -08:00
009b62f1c2
Be explicit about mapping the new game controller paddle buttons
Sam Lantinga
2020-11-07 02:22:15 -08:00
3a4388489a
Document the Xbox One Elite paddle buttons
Sam Lantinga
2020-11-06 17:06:41 -08:00
749062e72b
Implemented SDL_GameControllerSetLED() for iOS/tvOS
Sam Lantinga
2020-11-06 16:53:13 -08:00
faeac6e86c
Added additional game controller button support on iOS/tvOS
Sam Lantinga
2020-11-06 16:42:46 -08:00
cf8d3befe6
Added iOS controllermap test
Sam Lantinga
2020-11-06 16:01:43 -08:00
5a92edee03
Don't try to map the accelerometer as a game controller
Sam Lantinga
2020-11-06 15:54:18 -08:00