Commit Graph

  • ba170daf84 Don't crash if SDL_MapRGB() and SDL_MapRGBA() are passed a NULL format Sam Lantinga 2023-06-27 16:07:56 -07:00
  • 0ba93e4aac Don't crash if SDL_MapRGB() and SDL_MapRGBA() are passed a NULL format Sam Lantinga 2023-06-27 16:07:56 -07:00
  • cc5e9ffe70 Don't crash if SDL_MapRGB() and SDL_MapRGBA() are passed a NULL format Sam Lantinga 2023-06-27 16:07:56 -07:00
  • 600c615529 Fixed bug #7821 - docs/README-migration.md function name typos Sylvain 2023-06-27 20:07:59 +02:00
  • afdd448834 cmake: don't install sdlmanpages.cmake Anonymous Maarten 2023-06-27 19:02:33 +02:00
  • 7fa2ddb0de Fixed Nintendo Switch Pro controllers that don't have readable user calibration Sam Lantinga 2023-06-27 07:48:42 -07:00
  • 170428b107 Fixed Nintendo Switch Pro controllers that don't have readable user calibration Sam Lantinga 2023-06-27 07:48:42 -07:00
  • 9ee1200e6f Fixed Nintendo Switch Pro controllers that don't have readable user calibration Sam Lantinga 2023-06-27 07:48:42 -07:00
  • c065a9b128 Fix some issues caught by check_stdlib_usage.py Sam Lantinga 2023-06-27 06:18:45 -07:00
  • e8d2ccbc1c ci: reduce amount of files to copy back from freebsd vm Anonymous Maarten 2023-06-27 13:59:15 +02:00
  • 1061a978c3 cmake: fix header GLOB used for generating man pages Anonymous Maarten 2023-06-27 13:49:29 +02:00
  • 70ccf34587 Script to detect use of stdlib function Sylvain 2023-06-27 12:19:02 +02:00
  • 937f5d0059 cmake: allow man page installation by SDL satellite libraries Anonymous Maarten 2023-06-27 02:49:05 +02:00
  • 9ab2025127 wayland: Don't initialize OpenGL when the window flags didn't specify it Frank Praznik 2023-06-26 11:58:56 -04:00
  • 9aca2a4339 hidapi: switch: Handle MCU input reports Narr the Reg 2023-06-26 10:54:52 -06:00
  • 950ff0056a hidapi: switch: Handle MCU input reports Narr the Reg 2023-06-26 10:54:52 -06:00
  • 425062c123 hidapi: switch: Handle MCU input reports Narr the Reg 2023-06-26 10:54:52 -06:00
  • 02398a8f11 Allow building against old Linux kernels. Ozkan Sezer 2023-06-26 18:01:50 +03:00
  • fd062657dd Fixed build Sam Lantinga 2023-06-26 07:43:44 -07:00
  • 6cc21af900 Don't keep sensor file open while sensors are disabled meyraud705 2023-05-13 19:22:12 +02:00
  • 9cfac88054 Improve sensor detection for Linux gamepad meyraud705 2023-05-13 18:25:45 +02:00
  • 000277060c Add support for sensor to joystick on Linux (evdev) meyraud705 2023-05-11 19:51:07 +02:00
  • 95727b5c7d use of SDL functions Sylvain 2023-06-25 22:46:54 +02:00
  • 491fba1d06 SDL_FindFreePlayerIndex() will always return the next available player index Sam Lantinga 2023-06-24 15:38:38 -07:00
  • 38619bb28d SDL_FindFreePlayerIndex() will always return the next available player index Sam Lantinga 2023-06-24 15:38:38 -07:00
  • 87e916dd21 SDL_FindFreePlayerIndex() will always return the next available player index Sam Lantinga 2023-06-24 15:38:38 -07:00
  • 267fdd7daa Removed Bluetooth connection detection now that we get it from hidapi Sam Lantinga 2023-06-23 15:50:07 -07:00
  • c6660afe44 Corrected the Victrix FS Pro as a PS4 controller instead of a PS3 controller Sam Lantinga 2023-06-23 14:27:21 -07:00
  • 44bae1e8a9 Corrected the Victrix FS Pro as a PS4 controller instead of a PS3 controller Sam Lantinga 2023-06-23 14:27:21 -07:00
  • 6b12fbc6b7 Re-add the simpler SDL_DBus_AppendDictWithKeyValue() function Sam Lantinga 2023-06-23 07:28:05 -07:00
  • 6f344f29b8 After using SDL_qsort, mark sort_entries() as SDLCALL Sylvain 2023-06-23 12:50:58 +02:00
  • 1827a0bf62 Remove some use of C runtime functions in testevdev Sylvain 2023-06-23 11:07:10 +02:00
  • 6cde3835f0 Remove some use of C runtime functions (strlen, qsort) Sylvain 2023-06-23 10:31:40 +02:00
  • a807b14957 Greatly improved Xbox One controller initialization sequence Sam Lantinga 2023-06-22 14:33:07 -07:00
  • 8b86e3073d Revert "Android: also protect Hat/Joy/PadDown,Up so there are not sent without window" Sylvain 2023-06-22 23:30:41 +02:00
  • 8f83ccd750 Android: also protect Hat/Joy/PadDown,Up so there are not sent without window Sylvain 2023-06-22 16:19:43 +02:00
  • a3e0cd5208 Sync SDL3 wiki -> header SDL Wiki Bot 2023-06-22 13:45:16 +00:00
  • 627165a2b2 Fix comments Sylvain 2023-06-22 15:42:51 +02:00
  • 4339113072 SDL_DBus_AppendDictWithKeyValue: allows several key/value for other PRs Sylvain 2023-06-22 10:48:12 +02:00
  • 8aee6908bb Make sure we send update complete events for delayed guide buttons Sam Lantinga 2023-06-21 18:42:25 -07:00
  • c27f3ead7c Removed 100 ms hitch when querying third party Nintendo Switch controllers that don't respond to request for info Sam Lantinga 2023-06-21 14:11:41 -07:00
  • 8acf729650 Removed 100 ms hitch when querying third party Nintendo Switch controllers that don't respond to request for info Sam Lantinga 2023-06-21 14:11:41 -07:00
  • 4c9fb3e169 Added the events SDL_EVENT_JOYSTICK_UPDATE_COMPLETE and SDL_EVENT_GAMEPAD_UPDATE_COMPLETE Sam Lantinga 2023-06-21 13:59:53 -07:00
  • 808d83dd67 Allow specifying APP_PLATFORM and APP_ABI on the command line Sam Lantinga 2023-06-21 13:49:09 -07:00
  • 214d5daa3c Removed 100 ms hitch when querying third party Nintendo Switch controllers that don't respond to request for info Sam Lantinga 2023-06-21 12:14:50 -07:00
  • 1429e525fb Use default sensor calibration if we can't read it from the Nintendo Switch controller Sam Lantinga 2023-06-21 10:28:45 -07:00
  • dfbdaca2b8 Use default sensor calibration if we can't read it from the Nintendo Switch controller Sam Lantinga 2023-06-21 10:28:45 -07:00
  • 3694dabe7c Use default sensor calibration if we can't read it from the Nintendo Switch controller Sam Lantinga 2023-06-21 10:28:45 -07:00
  • de6963ea99 Apply DPI scale to mouse coordinates in SDL_WarpMouseInWindow() Sam Lantinga 2023-06-21 08:42:38 -07:00
  • 657c346556 Apply DPI scale to mouse coordinates in SDL_WarpMouseInWindow() Sam Lantinga 2023-06-21 08:42:38 -07:00
  • ceece918e4 Updated to version 2.29.0 for development Sam Lantinga 2023-06-20 11:50:19 -07:00
  • ffa78e6bea Updated to version 2.28.0 for release release-2.28.0 Sam Lantinga 2023-06-20 11:00:20 -07:00
  • 4ce5c3a694 ibus: Handle error when getting the D-Bus machine ID Simon McVittie 2023-06-20 13:22:55 +01:00
  • 6306ee9f42 List the available haptic devices in testhaptic Sam Lantinga 2023-06-20 09:33:59 -07:00
  • 8cf5dc9963 Build on Android targeting the arm64-v8a architecture by default Sam Lantinga 2023-06-20 09:18:19 -07:00
  • 5f3213eb0e Added support for gamepad sensor fusion with the Razer Kishi Sam Lantinga 2023-06-20 08:40:30 -07:00
  • 91198baed4 ibus: Handle error when getting the D-Bus machine ID Simon McVittie 2023-06-20 13:22:55 +01:00
  • 3ddbeab88f Moved Android sensor event handling to a separate thread Sam Lantinga 2023-06-20 01:17:44 -07:00
  • 329e1b8b6a Update the sensors before the joysticks so the gamepad code gets fresh sensor readings Sam Lantinga 2023-06-19 19:42:01 -07:00
  • 1a9c04e9f1 Don't try to update the gamepad fusion sensors manually, instead rely on the normal update flow Sam Lantinga 2023-06-19 19:41:20 -07:00
  • 20ea35138f Use a separate sensor watching function for gamepad events to avoid reliance on system sensor events and prevent a potential deadlock Sam Lantinga 2023-06-19 16:17:34 -07:00
  • 70e43c150e Added support for blitting SDL_PIXELFORMAT_INDEX1LSB Sam Lantinga 2023-06-19 08:36:30 -07:00
  • a3d4fd71c3 Added support for blitting SDL_PIXELFORMAT_INDEX1LSB Sam Lantinga 2023-06-19 08:36:30 -07:00
  • d97423ebab Fixed DualSense controllers not being picked up by the HIDAPI driver Sam Lantinga 2023-06-18 12:19:54 -07:00
  • c6ee9780df Fixed DualSense controllers not being picked up by the HIDAPI driver Sam Lantinga 2023-06-18 12:19:54 -07:00
  • 4e81b4e8de Added SDL_HINT_VIDEO_X11_SCALING_FACTOR to allow overriding the content scale on X11 (thanks Andres!) Sam Lantinga 2023-06-18 12:19:43 -07:00
  • 210c135f74 Implement SDL_HINT_WINDOW_ACTIVATE_WHEN_RAISED for X11 Sam Lantinga 2023-06-18 12:19:38 -07:00
  • 9351bf6dd1 Add handling for SDL_HINT_WINDOW_ACTIVATE_WHEN_RAISED and SDL_HINT_WINDOW_ACTIVATE_WHEN_SHOWN on macOS Sam Lantinga 2023-06-18 12:19:22 -07:00
  • 333a03f1ec We don't know in advance whether a device is connected over Bluetooth in SDL2 Sam Lantinga 2023-06-17 13:15:07 -07:00
  • 5b8fc907df Added support for the GameSir G4 Pro Sam Lantinga 2023-06-17 12:42:55 -07:00
  • f168f9c813 Added support for the GameSir G4 Pro Sam Lantinga 2023-06-17 12:42:55 -07:00
  • b770644411 Fixed building on older kernel headers Sam Lantinga 2023-06-17 09:46:46 -07:00
  • b98494a101 Fixed building on older kernel headers Sam Lantinga 2023-06-17 09:39:50 -07:00
  • 9fe384b696 Fixed display orientation function names for SDL 3.0 convention Sam Lantinga 2023-06-17 09:28:27 -07:00
  • d91e96e7f5 Use SDL_HINT_GAMECONTROLLER_SENSOR_FUSION as a list of controllers to enable sensor fusion Sam Lantinga 2023-06-17 08:59:52 -07:00
  • 610c31c7b7 Generalized the sensor coordinate transform for wraparound gamepads Sam Lantinga 2023-06-17 08:28:37 -07:00
  • 9eb5eab0ad Use the correct orientation transformation based on whether the device is naturally landscape or portrait Sam Lantinga 2023-06-17 08:04:34 -07:00
  • e6d1ba2a17 Added the concept of display natural orientation Sam Lantinga 2023-06-17 00:52:40 -07:00
  • 8de6ce7e92 Rotate the sensor axes to match gamepad orientation when using the device sensors for game controllers Sam Lantinga 2023-06-16 17:48:34 -07:00
  • a9c86e518a Added the Razer Edge controller to the list of wraparound controllers Sam Lantinga 2023-06-16 17:48:18 -07:00
  • c207cd3f56 Added the Razer Junglecat to the wraparound controller list Sam Lantinga 2023-06-16 16:03:55 -07:00
  • e4f53e6b21 testevdev.c: comment out two unused data to fix build. Ozkan Sezer 2023-06-17 01:01:10 +03:00
  • 42e4639a5e For gamepads that don't have their own sensors, try to use the system sensors. Sam Lantinga 2023-06-14 22:03:44 -07:00
  • d584592822 linux: If the kernel specifically tells us the device type, trust it Simon McVittie 2023-06-16 15:16:44 +01:00
  • 0d5aa70e62 linux: Pass evdev properties when guessing device type Simon McVittie 2023-06-16 15:14:33 +01:00
  • a4ce721d7a testevdev: Allow device properties to be fully populated Simon McVittie 2023-06-16 15:15:31 +01:00
  • fa0ca3d41e linux: Distinguish between "device with keys" and a full keyboard Simon McVittie 2023-06-16 14:53:29 +01:00
  • 9b7a9ca666 testevdev: Add some more laptop built-in devices Simon McVittie 2023-06-16 14:29:53 +01:00
  • 00b6db68de testevdev: Add some EVIOCGNAME and USB name strings to test data Simon McVittie 2023-06-16 14:29:41 +01:00
  • 3772d6cc99 testevdev: Add raw HID report descriptors where available Simon McVittie 2023-06-15 19:46:35 +01:00
  • 2b7556fea2 testevdev: Correct typo in bus type for Xbox Series S|X via Bluetooth Simon McVittie 2023-06-16 14:35:16 +01:00
  • c13e511844 testevdev: Try to correct Wii devices guessed from kernel source Simon McVittie 2023-06-13 17:48:50 +01:00
  • ffdafcd880 testevdev: Verify most Wii devices against real hardware Simon McVittie 2023-06-13 17:26:51 +01:00
  • 739f78302b Sync SDL3 wiki -> header SDL Wiki Bot 2023-06-16 12:22:18 +00:00
  • 26df689935 docs: expand CMake documentation + add minimal CMake project for reporting issues Anonymous Maarten 2023-06-16 14:21:33 +02:00
  • 378e33bb2c Android: potential ANR during onKeyDown/Up SDLActivity may call onNativeKeyDown, while application is quitting Sylvain 2023-06-16 10:05:58 +02:00
  • e72935a445 Check for modff in addition to modf Sam Lantinga 2023-06-15 16:43:35 -07:00
  • dab4f296b8 Cleanup spacing Sam Lantinga 2023-06-15 16:43:22 -07:00
  • 16b57d2ff1 testevdev: Add details of another driving simulator controller Simon McVittie 2023-06-15 19:25:23 +01:00
  • 2b00751206 testevdev: Expand test data for X-Box One Elite 2 Simon McVittie 2023-06-15 15:50:03 +01:00