Log

Author Commit Date CI Message
Sam Lantinga dfd2c574 2022-08-03T22:27:43 Removed unused variable
Sam Lantinga a2b4f440 2022-08-03T22:27:42 The Nintendo Wii Remote Pro Controller respects the SDL_GAMECONTROLLER_USE_BUTTON_LABELS hint
Sam Lantinga c84dea09 2022-08-03T22:12:21 Fixed detecting the controller type of controllers over USB
Sam Lantinga ba297f12 2022-08-03T21:46:01 Use the Nintendo controller type to determine whether to always use button labels
Sam Lantinga 946f4777 2022-08-03T21:33:38 Don't set Bluetooth controllers to wired power level
Sam Lantinga 57c3b2c9 2022-08-03T21:31:12 Don't rely on the device VID/PID to get the Nintendo controller type The Nintendo Online Sega Genesis controller reports the SNES VID/PID over Bluetooth. This is a more robust way of handling future controllers as well, so let's go with this instead. Also use full reports over Bluetooth, and don't report gyro for Nintendo Online classic controllers.
Sam Lantinga b6aadb16 2022-08-03T20:38:33 Added k_eSwitchDeviceInfoControllerType_N64 to ESwitchDeviceInfoControllerType
Sam Lantinga bdfb32de 2022-08-03T20:30:58 Added some additional Nintendo controller types to ESwitchDeviceInfoControllerType
Sam Lantinga ea7fbf79 2022-08-03T19:39:37 Update in-flight SDL_CONTROLLERDEVICEADDED messages when a device is removed This fixes the application trying to open the wrong device index when a device is removed and another has just been added
Sam Lantinga 5d50fa52 2022-08-03T19:39:36 Fixed timeout opening the Nintendo Joy-Con Charging Grip Sometimes opening the right Joy-Con takes a little longer for some reason
Sam Lantinga 29cdb2c9 2022-08-03T18:01:10 Added support for the Nintendo Switch Joy-Con Charging Grip
Sam Lantinga a8120104 2022-08-03T13:53:49 The Nintendo Online classic controllers and Joy-Cons shouldn't show up as Switch Pro controllers
Sam Lantinga 6e1ee1d4 2022-08-03T13:51:25 sort the controller names
Sam Lantinga 8ab9dc8b 2022-08-03T13:18:00 Fixed crash if Joy-Cons are disabled while a combined Joy-Cons controller is open
Sam Lantinga bcdef4aa 2022-08-03T13:07:47 Added separate hints for Nintendo Online classic controllers and Joy-Cons This allows them to be enabled/disabled separately from Switch Pro HIDAPI support
Shootfast 60d1944e 2022-07-06T20:12:30 SDL_video: Added SDL_GL_FLOATBUFFERS to allow Cocoa GL contexts to use EDR
Frank Praznik 0b9868b0 2022-08-02T12:56:56 wayland: Use D-Bus to retrieve the cursor size and theme on GNOME GNOME exposes the cursor size and theme via the org.freedesktop.portal.Settings interface of the xdg-desktop portal, so query these values via D-Bus, if available. The XCURSOR_SIZE/XCURSOR_THEME envvars will be tried first, so as not to override any user specified sizes or themes, then D-Bus, then, failing that, it will fall back to default values.
Daniel Santos a152e467 2022-07-07T12:09:12 Fix "implicit declaration" with memalign
Daniel Santos 33cbf9ac 2022-07-07T12:03:46 Fix some mixed declaration warnings
Daniel Santos acf48f14 2022-07-07T11:37:20 Vertex pointer revision Now triangles are fully working
Daniel Santos 72618044 2022-07-07T10:36:48 Add textured triangle prim
Francisco Javier Trujillo Mata 944111db 2022-08-02T18:47:39 Cleaning up video driver
Francisco Javier Trujillo Mata 2a70d492 2022-07-07T16:42:42 Destroy texture properly
Daniel Santos 7b0486d4 2022-07-07T09:33:36 Try triangles
Francisco Javier Trujillo Mata 3f7dda8c 2022-08-02T18:13:55 Remove deinit of video driver
Daniel Santos d5305ee0 2022-07-07T08:48:25 Do properly color assign
Daniel Santos b48c74a3 2022-07-07T08:24:46 Add GeometryQueue
Francisco Javier Trujillo Mata 83c11797 2022-08-01T12:23:58 Adding SetViewPortCommand
Francisco Javier Trujillo Mata 3bfc8f55 2022-07-04T23:54:13 Removing some of the QueueCopy functions because they are legacy
Francisco Javier Trujillo Mata be1219bd 2022-07-04T23:35:25 Implement setDrawColor
Francisco Javier Trujillo Mata a9f4cda3 2022-08-01T12:13:28 Adding setcliprect command
Francisco Javier Trujillo Mata f1699ce7 2022-06-23T23:45:04 Implementing Clear command and texture Update
Francisco Javier Trujillo Mata c472b8dd 2022-07-04T13:23:06 Whole clean around render and video driver
Francisco Javier Trujillo Mata fb1a205e 2022-08-01T11:44:05 Implement blend modes
Daniel Santos cdf89fde 2022-07-04T04:09:55 Add triangle prim support Improve line support Add initial texture support
Francisco Javier Trujillo Mata 88e64f9a 2022-07-03T23:29:25 Add natively supported colors
Francisco Javier Trujillo Mata 075f9016 2022-08-01T11:43:50 Remove some unnecessary comments
Francisco Javier Trujillo Mata 4564e898 2022-07-03T18:54:56 put files at the same line
Daniel Santos 90e0e5c2 2022-06-30T19:50:22 Add point, line and rect support
Francisco Javier Trujillo Mata ed301b12 2022-08-01T11:43:35 Updating supported format
Daniel Santos 147a71b9 2022-06-30T12:57:37 Finish dummy driver
Daniel Santos 2660449c 2022-06-30T11:44:35 Add dummy driver
Francisco Javier Trujillo Mata 1d1965b6 2022-07-18T12:34:17 Removing the BGR_888 from texture supported
Daniel Santos a81aa992 2022-06-24T15:48:50 Add prim video support
Francisco Javier Trujillo Mata 46f95a7a 2022-06-24T00:20:11 Create dummy PS2 Video driver
Francisco Javier Trujillo Mata f75c35c0 2022-07-12T23:01:28 Add invalidate texture when it changes
Daniel Santos 5bb965be 2022-07-08T15:47:33 Implement RenderLines
Francisco Javier Trujillo Mata 0f0e5b44 2022-07-08T17:47:19 Increase size of pool for gsKit events
Francisco Javier Trujillo Mata f758cad8 2022-07-08T13:14:40 Remove non needed FillRects function
Daniel Santos 3cb124b9 2022-07-07T15:00:15 Implement RenderPoints
Daniel Santos df6ebc25 2022-07-07T14:10:37 Implement FillRect
SDL Wiki Bot 75f34fc5 2022-08-02T14:52:12 Sync SDL wiki -> header
Ryan C. Gordon 307b0b78 2022-08-02T10:50:51 video: Add a warning to the docs about using SDL_GetDisplayDPI. Fixes #5647.
Mathieu Eyraud f1390780 2022-08-02T15:25:44 Fix use after free when removing Windows audio device
Mathieu Eyraud 59a104b8 2022-08-02T15:00:55 Do not pass NULL to memcpy ReadJoyConControllerType calls WriteSubcommandSync with pbuf=NULL
Mathieu Eyraud 42b23207 2022-08-02T14:42:25 Fix memory leak of children for combined JoyCon
Sam Lantinga 602b7dd0 2022-08-01T17:47:26 Made the window ICMProfile filename per-window The event no longer spams each time a window gets focus if there are windows on monitors with different color profiles. This also has the side effect that you no longer get a color profile event at window creation, which is consistent with other events that communicate state changes.
Sam Lantinga cb107bef 2022-08-01T14:23:50 Fixed crash if all displays have been disconnected Fixes https://github.com/libsdl-org/SDL/issues/5867
Sam Lantinga 12aa4d56 2022-08-01T11:11:25 Added header needed for SDL_Delay()
Sam Lantinga aeb27514 2022-08-01T10:38:31 Poll DirectInput devices to get their initial state Fixes https://github.com/libsdl-org/SDL/issues/3816
Sam Lantinga 3a6cb7e7 2022-08-01T10:28:29 Convert XLookupString Latin-1 text to UTF-8 Fixes bug https://github.com/libsdl-org/SDL/issues/4699
Sam Lantinga 0cd5b08b 2022-08-01T09:43:15 Fixed infinite loop when SDL_SendKeyboardText() is passed invalid UTF-8 text
Sam Lantinga 954bbdf3 2022-08-01T09:51:21 Allow emscripten platform to build without threads
Sam Lantinga e4cc076a 2022-08-01T09:15:44 Threads are used by many SDL subsystems and may not be disabled. Fixes https://github.com/libsdl-org/SDL/issues/5095
Sam Lantinga 15bcf58d 2022-08-01T08:14:40 Fixed memory leak in the Windows driver
Ryan C. Gordon cf63af8a 2022-07-31T22:10:45 events: Don't lose window RESIZED events during SIZED_CHANGED processing. Previously, calling SDL_SendWindowEvent for a SIZED_CHANGED event would filter the queue to remove RESIZED and SIZED_CHANGED events, so you don't overflow the queue with obsolete data, but any RESIZED events would be lost in this process. Now we note if there was a RESIZED pending and replace it with a new event using the same dimensions as the new SIZED_CHANGED event. This fixes cases where an app is only listening for RESIZED events and thus might lose important information in some cases. Fixes #5925.
Cameron Gutman 17f36c10 2022-07-31T16:16:38 keyboard: Remove no-op calls to SDL_SetKeymap()
Cameron Gutman 9515fb25 2022-07-31T16:10:10 keyboard: Use SDL_SetKeymap() to set the default keymap This ensures the AZERTY workaround is applied for backends that never call SDL_SetKeymap() themselves.
Cameron Gutman 8b438f7b 2022-07-31T15:34:03 keyboard: Only send SDL_KEYMAPCHANGED when the keymap actually changes
Cameron Gutman a10c57df 2022-07-31T14:18:33 evdev: Report touchpad events with the correct device type
Cameron Gutman 9a33c62e 2022-07-31T14:06:59 evdev: Use SDL_bool for boolean types
Cameron Gutman f9d1f34b 2022-07-31T13:10:43 evdev: Report a unique ID for each mouse device
Cameron Gutman 574db63c 2022-07-31T12:36:11 evdev: Batch mouse axis updates until SYN_REPORT This is necessary for consistent position reports with absolute mice and improves application performance with relative mice by cutting the number of reported mouse motion events roughly in half.
Sam Lantinga 7f42fb54 2022-07-30T16:34:40 Applied DragonFly BSD patch https://github.com/DragonFlyBSD/DeltaPorts/blob/master/ports/devel/sdl20/dragonfly/patch-src_stdlib_SDL__malloc.c
Sam Lantinga ce5a23bd 2022-07-30T16:32:21 Applied DragonFly BSD patch https://raw.githubusercontent.com/DragonFlyBSD/DeltaPorts/master/ports/devel/sdl20/dragonfly/patch-include_SDL__endian.h
Sam Lantinga 6926ff3c 2022-07-30T16:30:32 Applied DragonFly BSD patch https://github.com/DragonFlyBSD/DeltaPorts/blob/master/ports/devel/sdl20/dragonfly/patch-configure
Sam Lantinga 21100006 2022-07-30T16:22:24 Don't conflict with usage of stdout as a stdio macro Patch inspired by http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/devel/SDL2/patches/patch-src_video_wayland_SDL__waylandmessagebox.c?rev=1.1&content-type=text/plain
Cameron Cawley 6e9a606a 2022-07-30T21:08:07 Add more mingw-w64 build workflows
Cameron Cawley 3bdc10f8 2022-07-30T19:41:48 Update the list of required Ubuntu packages, and add Ubuntu 22.04 workflows
Cameron Cawley adb3e1a2 2022-07-30T13:35:38 Add FreeBSD builds to GitHub Actions
Frank Praznik 22f25b03 2022-07-24T13:22:39 core: linux: Favor xdg-desktop-portal for elevating thread priority Use the xdg-desktop-portal interface to RealtimeKit1, when available, to set realtime scheduling and elevated priority for threads. This portal allows for the use of rtkit within containers such as Flatpak. It will fall back to using RealtimeKit1 directly if the xdg-desktop-portal interface is too old or not available.
Sam Lantinga 2241bd66 2022-07-29T20:37:38 Added a command line option `--info event_motion` to show mouse and finger motion events
Sam Lantinga 13e0c40e 2022-07-29T17:28:36 Added mapping for the 8BitDo Pro 2 controller in DirectInput mode over Bluetooth on Linux
Sam Lantinga 62c83166 2022-07-29T17:14:55 Added mapping for the 8BitDo Pro 2 controller in DirectInput mode
Sam Lantinga 41c363f7 2022-07-29T16:27:23 Note that the PDP Versus Fighting Pad is an arcade fighting pad
SDL Wiki Bot 47265f37 2022-07-29T13:24:05 Sync SDL wiki -> header
Anonymous Maarten 36dfbe5d 2022-07-28T02:06:29 stdlib: exclude mslibc functions using SDL_STATIC_LIB macro
Anonymous Maarten f8aa00d1 2022-07-28T16:30:02 cmake: add HAVE_STDDEF_H to SDL_config.h.cmake
Anonymous Maarten 83f5bbdf 2022-07-28T14:08:20 cmake: define SDL_STATIC_LIB for static SDL2 library
Anonymous Maarten bdd1d035 2022-07-28T02:38:04 cmake: Don't add /NODEFAULTLIB to link flags when building SDL-static
Sam Lantinga 181877eb 2022-07-28T21:54:34 Added SDL_hidapi_combined.c to the Xcode project
Sam Lantinga f3c1194c 2022-07-28T21:50:41 Removed obsolete comment
Sam Lantinga aee179e4 2022-07-28T21:50:20 Removed debug output
Sam Lantinga d8fd7873 2022-07-28T21:44:23 Added entry for the Nintendo Switch Joy-Con controller pair
Sam Lantinga 875b737c 2022-07-28T21:39:32 Added support for the Nintendo Online NES Controllers to the HIDAPI driver
Xiaofeng Wang 45c1cc81 2022-07-29T11:30:17 Compatible with including as <SDL2/SDL.h>
Sam Lantinga ab967475 2022-07-28T19:38:38 Greatly improved Nintendo Joy-Con support using the HIDAPI driver * Added support for mini-gamepad mode for Joy-Con controllers, matching the mapping for hid-nintendo on Linux and iOS 16 * Added the ability to merge left and right Joy-Con controllers into a single Pro-style controller * Added the hint SDL_HINT_JOYSTICK_HIDAPI_SWITCH_COMBINE_JOY_CONS to control this merging functionality * Removed the hint SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS
Sam Lantinga dfed862a 2022-07-28T19:35:46 Fixed variable shadow warning
Sam Lantinga 2fa2f9ff 2022-07-28T19:22:27 Greatly improved Nintendo Joy-Con support using the HIDAPI driver * Added support for mini-gamepad mode for Joy-Con controllers, matching the mapping for hid-nintendo on Linux and iOS 16 * Added the ability to merge left and right Joy-Con controllers into a single Pro-style controller * Added the hint SDL_HINT_JOYSTICK_HIDAPI_SWITCH_COMBINE_JOY_CONS to control this merging functionality * Removed the hint SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS
Sam Lantinga def60ce6 2022-07-27T19:20:42 Fixed the name of the HIDAPI Joy-Con controller for consistency with other drivers