Commit Graph

  • 4d63c919f9 simplify OpenBSD D-pad calculation with bitwise operation (#7996) rfht 2023-07-17 20:01:23 -06:00
  • c4c034ca4b Don't fail to create a window if it's too large, just clamp it to the max instead Sam Lantinga 2023-07-17 17:48:11 -07:00
  • 4a18893c73 Don't fail to create a window if it's too large, just clamp it to the max instead Sam Lantinga 2023-07-17 17:48:11 -07:00
  • fb57ba763d Fixed LED pending check failing when the controller timestamp is very large Sam Lantinga 2023-07-17 17:08:17 -07:00
  • 63a98d0da2 Don't send k_EPS5FeatureReportIdCapabilities to Sony PS5 controllers Sam Lantinga 2023-07-17 16:45:31 -07:00
  • 78f11e05ff Don't tickle Bluetooth PS5 controllers in simple mode with an effects packet Sam Lantinga 2023-07-17 16:42:58 -07:00
  • f7dc8c0eaa Fixed LED pending check failing when the controller timestamp is very large Sam Lantinga 2023-07-17 17:08:17 -07:00
  • bb036ef544 Don't send k_EPS5FeatureReportIdCapabilities to Sony PS5 controllers Sam Lantinga 2023-07-17 16:45:31 -07:00
  • 910dad505a Don't tickle Bluetooth PS5 controllers in simple mode with an effects packet Sam Lantinga 2023-07-17 16:42:58 -07:00
  • eb8b5ed3a4 Fixed crash when the joystick can't be opened Sam Lantinga 2023-07-17 17:35:38 -07:00
  • 2ebbfe7c5b Added an "auto" mode for PS4 and PS5 controller rumble hints Sam Lantinga 2023-07-17 17:32:57 -07:00
  • bd4f155bbb Fixed LED pending check failing when the controller timestamp is very large Sam Lantinga 2023-07-17 17:08:17 -07:00
  • 16dd5f0da4 Don't send k_EPS5FeatureReportIdCapabilities to Sony PS5 controllers Sam Lantinga 2023-07-17 16:45:31 -07:00
  • 2fef0be2f6 Don't tickle Bluetooth PS5 controllers in simple mode with an effects packet Sam Lantinga 2023-07-17 16:42:58 -07:00
  • 75d4a91aaa Use SDL_GAMEPAD_TYPE_UNKNOWN, not SDL_GAMEPAD_TYPE_INVALID Sam Lantinga 2023-07-17 13:54:55 -07:00
  • 27556e098e Sync SDL3 wiki -> header SDL Wiki Bot 2023-07-17 20:00:18 +00:00
  • b271e92c6e Added the ability to specify a gamepad type in the mapping Sam Lantinga 2023-07-17 12:14:37 -07:00
  • 57820071a4 Added the ability to rename your controller Sam Lantinga 2023-07-16 15:11:24 -07:00
  • 08db0e8f64 Allow clicking on the gamepad image to bind elements Sam Lantinga 2023-07-16 12:39:05 -07:00
  • 8f21be87fc Allow using A and B to navigate the controller binding flow Sam Lantinga 2023-07-16 12:14:52 -07:00
  • f3fe579cf0 Sort the entries in the controller mapping Sam Lantinga 2023-07-16 10:19:40 -07:00
  • 787786bdbc testcontroller: memory management cleanup Sam Lantinga 2023-07-16 09:16:16 -07:00
  • 4b2b475ac2 remove unused vulkan/*.hpp files. Ozkan Sezer 2023-07-17 00:10:50 +03:00
  • 611b3dd1fd remove unused vulkan/*.hpp files. Ozkan Sezer 2023-07-17 00:10:50 +03:00
  • 87ccb886fe cmake: remove ability to build tests as a standalone project Anonymous Maarten 2023-07-16 19:38:17 +02:00
  • 80da0cf06d cmake: convert bmp images to c headers using python script Anonymous Maarten 2023-07-16 15:50:32 +02:00
  • ac4f5dcadd Relicensed testutils to match other test code Sam Lantinga 2023-07-12 09:53:52 -07:00
  • ff4fd93f4c Fixed getting the CRC of virtual joysticks without a VID/PID Sam Lantinga 2023-07-14 10:01:04 -07:00
  • a4ad293d4a Relicensed testutils to match other test code Sam Lantinga 2023-07-12 09:53:52 -07:00
  • 6089b35706 Fixed getting the CRC of virtual joysticks without a VID/PID Sam Lantinga 2023-07-14 10:01:04 -07:00
  • 74612701bb Sync SDL3 wiki -> header SDL Wiki Bot 2023-07-16 11:33:16 +00:00
  • 1a4995371b Use light text for button labels so they show up well over the activity highlight Sam Lantinga 2023-07-16 04:31:17 -07:00
  • ae0fce3f01 testcontroller: show face button labels over the activity highlight Sam Lantinga 2023-07-16 01:05:45 -07:00
  • 505a8dfb15 testcontroller replaces gamepadmap Sam Lantinga 2023-07-16 01:00:38 -07:00
  • 8296242f2e We don't need to be verbose about gamepad events now that we can visualize them Sam Lantinga 2023-07-15 01:18:55 -07:00
  • d90b938f0f Additional work on binding mode for testcontroller Sam Lantinga 2023-07-15 00:00:53 -07:00
  • 5388edd549 Removed Flydigi Vader 2 mappings Sam Lantinga 2023-07-14 18:40:10 -07:00
  • 57cfd1e106 Removed SDL_GAMEPAD_TYPE_VIRTUAL, SDL_GAMEPAD_TYPE_AMAZON_LUNA, SDL_GAMEPAD_TYPE_GOOGLE_STADIA, and SDL_GAMEPAD_TYPE_NVIDIA_SHIELD Sam Lantinga 2023-07-14 17:46:42 -07:00
  • 689555a400 Added gamepad BMP files used as sources for the header files Sam Lantinga 2023-07-14 08:15:32 -07:00
  • 404e030b39 Added binding mode to testcontroller Sam Lantinga 2023-07-13 22:57:32 -07:00
  • 6c2472d459 Relicensed testutils to match other test code Sam Lantinga 2023-07-12 09:53:52 -07:00
  • cd99ae47ef Improved button labels, based on controller style Sam Lantinga 2023-07-12 09:49:09 -07:00
  • ee34805053 Added ABXY button labels to the gamepad image Sam Lantinga 2023-07-11 18:56:29 -07:00
  • e674d81844 Show the gamepad bindings in testcontroller Sam Lantinga 2023-07-11 16:49:38 -07:00
  • 538292c1da Revert "More than one binding might trigger a gamepad button" Sam Lantinga 2023-07-16 03:18:51 -07:00
  • 0bcd9944a3 More than one binding might trigger a gamepad button Sam Lantinga 2023-07-15 01:17:55 -07:00
  • b40fb5c51e Fixed getting the CRC of virtual joysticks without a VID/PID Sam Lantinga 2023-07-14 10:01:04 -07:00
  • f3d6320bac Added SDL_strndup() Sam Lantinga 2023-07-15 09:12:39 -07:00
  • 8cc3783e75 Remove extra spaces in stripped tokens Sam Lantinga 2023-07-15 09:12:17 -07:00
  • a1615dea85 Added SDL_SetGamepadMapping() to set the mapping for a specific device Sam Lantinga 2023-07-14 10:29:03 -07:00
  • eb0955ef89 Removed SDL_GamepadBinding from the API Sam Lantinga 2023-07-11 15:53:41 -07:00
  • ca492dff18 Renamed testgamepad to testcontroller Sam Lantinga 2023-07-11 14:21:35 -07:00
  • d2d26c7b1e testgamepad replaces testjoystick Sam Lantinga 2023-07-11 13:36:48 -07:00
  • 34876c390f testgamepad works for joysticks as well as gamepads Sam Lantinga 2023-07-11 13:06:28 -07:00
  • 52a14998a8 wayland/video: Validate the returned window display pointer before dereferencing it Frank Praznik 2023-07-10 11:48:14 -04:00
  • a999100858 wayland/video: Validate the returned window display pointer before dereferencing it Frank Praznik 2023-07-10 11:48:14 -04:00
  • 14b0b0e6c8 ci: move 'set -eu' to after source_cmd Anonymous Maarten 2023-07-14 15:02:10 +02:00
  • 57e9a9eee6 ci: move 'set -eu' to after source_cmd Anonymous Maarten 2023-07-14 15:02:10 +02:00
  • eda2824e6f ci: move 'set -eu' to after source_cmd Anonymous Maarten 2023-07-14 15:00:52 +02:00
  • cf46467a42 pulseaudio: Some fixes that seem to avoid an assertion in libpulse. Ryan C. Gordon 2023-07-12 23:29:39 -04:00
  • b9d16dac4e pulseaudio: Some fixes that seem to avoid an assertion in libpulse. Ryan C. Gordon 2023-07-12 23:29:39 -04:00
  • 133482a2c0 pulseaudio: eliminate <pulse/simple.h> include. Ozkan Sezer 2023-07-13 01:55:24 +03:00
  • 776a5e0d25 pulseaudio: eliminate <pulse/simple.h> include. Ozkan Sezer 2023-07-13 01:51:10 +03:00
  • 376c6a9dd1 apply commit 3aba9d4473 to autotools, too. Ozkan Sezer 2023-07-13 01:51:02 +03:00
  • c45a0cd9b3 Don't divide by the scale twice Sam Lantinga 2023-07-12 15:34:10 -07:00
  • 3aba9d4473 pulseaudio: We should be using libpulse, not libpulse-simple. Ryan C. Gordon 2023-07-12 16:40:42 -04:00
  • 6aef14fb2d pulseaudio: We should be using libpulse, not libpulse-simple. Ryan C. Gordon 2023-07-12 16:40:42 -04:00
  • 6fd0613ac8 pulseaudio: Require PulseAudio 5.0 or later for SDL3. Ryan C. Gordon 2023-07-12 16:34:55 -04:00
  • 9ebf0ed781 pulseaudio: fix WaitForPulseOperation blocking longer than necessary. Ryan C. Gordon 2023-07-12 16:09:33 -04:00
  • 832b524180 pulseaudio: don't wait on pa_context_subscribe in hotplug thread. Ryan C. Gordon 2023-07-12 16:00:13 -04:00
  • 956b18f50c pulseaudio: don't wait on pa_context_subscribe in hotplug thread. Ryan C. Gordon 2023-07-12 16:00:13 -04:00
  • 29d461b628 need pulseaudio >=0.9.15. call pa_threaded_mainloop_set_name only if available. Ozkan Sezer 2023-07-12 21:39:41 +03:00
  • b3861650d3 need pulseaudio >=0.9.15. call pa_threaded_mainloop_set_name only if available. Ozkan Sezer 2023-07-12 21:39:04 +03:00
  • cb4b41ddf7 RAWINPUT_RegisterNotifications() should return int, for consistency Sam Lantinga 2023-07-11 10:50:43 -07:00
  • 5a2d165b7b Improved RAWINPUT <-> XInput/WGI device correlation Sam Lantinga 2023-07-11 07:56:07 -07:00
  • 11022c23b2 Fixed crash if RAWINPUT is not initialized Sam Lantinga 2023-07-11 10:17:02 -07:00
  • e8b6edd5a0 RAWINPUT_RegisterNotifications() should return int, for consistency Sam Lantinga 2023-07-11 10:50:43 -07:00
  • 1903d7b1bf RAWINPUT_RegisterNotifications() should return int, for consistency Sam Lantinga 2023-07-11 10:50:43 -07:00
  • 34c5bde355 Improved RAWINPUT <-> XInput/WGI device correlation Sam Lantinga 2023-07-11 07:56:07 -07:00
  • 9117b2e300 Fixed crash if RAWINPUT is not initialized Sam Lantinga 2023-07-11 10:17:02 -07:00
  • fdff3b16d6 Fixed build Sam Lantinga 2023-07-11 10:44:24 -07:00
  • 45cd4b8038 Added button background Sam Lantinga 2023-07-11 10:21:42 -07:00
  • 4feb2f4b1a Added a button to copy the gamepad mapping to the clipboard Sam Lantinga 2023-07-11 10:04:25 -07:00
  • 4f122c6e39 Removed test binding for space key Sam Lantinga 2023-07-11 08:18:36 -07:00
  • 41882a1acb Improved RAWINPUT <-> XInput/WGI device correlation Sam Lantinga 2023-07-11 07:56:07 -07:00
  • dfc5e6964e Fixed crash if RAWINPUT is not initialized Sam Lantinga 2023-07-11 10:17:02 -07:00
  • 2e3404db01 Added SDL_GetGamepadPowerLevel() to get the power level directly from a gamepad Sam Lantinga 2023-07-11 07:09:24 -07:00
  • 9885f4d245 Reduced the size of the gamepad front and back images Sam Lantinga 2023-07-11 07:00:07 -07:00
  • 30a9fffbd4 Fixed array out of bounds access Sam Lantinga 2023-07-10 22:08:12 -07:00
  • 8ba850bef2 Show battery status on screen in testgamepad Sam Lantinga 2023-07-10 20:29:09 -07:00
  • 5b9f2d0942 Fixed build Sam Lantinga 2023-07-10 19:41:45 -07:00
  • e425fdd416 Added the controller name and info to the testgamepad window Sam Lantinga 2023-07-10 19:13:51 -07:00
  • 3cbf16b944 Added SDL_GetGamepadInstanceID() Sam Lantinga 2023-07-10 19:13:42 -07:00
  • 50277a0355 Show touchpad and sensor output on screen in testgamepad Sam Lantinga 2023-07-10 18:05:31 -07:00
  • d44ada59fb Added joystick and gamepad element display in testgamepad Sam Lantinga 2023-07-10 17:06:42 -07:00
  • 4a53dc5b8d Added touchpad visualization for testgamepad Sam Lantinga 2023-07-10 11:35:48 -07:00
  • 33d025d35a Fixed loading 8-bit BMP exported by Gimp with RGB masks Sam Lantinga 2023-07-10 11:35:04 -07:00
  • 1e50823a14 fixed linux build. Ozkan Sezer 2023-07-10 20:35:50 +03:00
  • 95d17f9d2c Minor cleanup Sam Lantinga 2023-07-10 09:42:12 -07:00
  • 47fd07bde6 Added support for absolute mice with evdev Andre Barata 2023-06-30 16:23:01 +01:00