Commit Graph

  • 85ac0381b7 IGameInputDevice::GetDeviceInfo() can never return a null pointer Sam Lantinga 2024-02-17 19:18:04 -08:00
  • fbe4153214 The HIDAPI driver takes precedence over the GameInput driver Sam Lantinga 2024-02-17 19:13:04 -08:00
  • 4a59b17de2 Added infrastructure for querying battery status for GameInput Sam Lantinga 2024-02-17 19:09:29 -08:00
  • fd9a4eff9f Updated GameInput device info to match other joystick drivers Sam Lantinga 2024-02-17 17:52:48 -08:00
  • 8f0f14c312 Added automatic gamepad mapping for the GameInput driver Sam Lantinga 2024-02-17 17:41:30 -08:00
  • eb9a7d97f9 The GameInput driver handles Xbox controllers Sam Lantinga 2024-02-17 16:43:07 -08:00
  • 698b7deaa2 Removed GAMEINPUT_JoystickEffectDataType_HapticFeedback Sam Lantinga 2024-02-17 16:33:45 -08:00
  • f35ede7281 Generalized the idea of joystick driver priority Sam Lantinga 2024-02-17 15:41:18 -08:00
  • 7f33464bed opengles2: Call glClearColor() with r,g,b,a, not r,g,g,a Robert Edmonds 2024-02-17 15:51:45 -05:00
  • fee140bdfe Added the option for GameInput support to the Win32 SDL build Sam Lantinga 2024-02-17 14:07:42 -08:00
  • 534f753e20 GameInput backend for SDL (Gamepad-only for now) Nikita Krapivin 2024-01-25 01:26:01 +05:00
  • 7ed1f3554d Define HAVE_LIBC for the platforms with a C library Sam Lantinga 2024-02-17 11:31:06 -08:00
  • ed615e92b7 Updated automated test now that getting an invalid property isn't an error Sam Lantinga 2024-02-17 09:30:50 -08:00
  • dc7baa415e Show the window after creating the renderer Sam Lantinga 2024-02-17 09:21:30 -08:00
  • ff01d0b568 Fixed building without HAVE_LIBC on Windows Sam Lantinga 2024-02-17 08:12:10 -08:00
  • 8ce786d2b6 Property query functions don't set an error if they return the default value Sam Lantinga 2024-02-17 07:59:04 -08:00
  • 202886f873 Make use of the HDR light range when playing HDR video Sam Lantinga 2024-02-16 20:05:11 -08:00
  • 317099b01f Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-17 03:51:21 +00:00
  • cb38649490 Added SDL_PROP_DISPLAY_HDR_WHITE_LEVEL_FLOAT Sam Lantinga 2024-02-16 17:36:11 -08:00
  • 631b05b211 Drop stray trailing whitespace for android-project Michał Janiszewski 2024-02-16 00:19:13 +01:00
  • 6472e36264 x11: Minor cleanup in new mouse cursor selection code. Ryan C. Gordon 2024-02-16 08:37:23 -05:00
  • c67f10e43f x11: Cleaned up system cursor code to match previous Wayland change. Ryan C. Gordon 2024-02-16 08:37:23 -05:00
  • 932eea513e wayland: Minor cleanup in new mouse cursor selection code. Ryan C. Gordon 2024-02-16 08:22:13 -05:00
  • df00a7dd4c x11: Cleaned up system cursor code to match previous Wayland change. Ryan C. Gordon 2024-02-16 08:37:23 -05:00
  • 827917ea60 wayland: Minor cleanup in new mouse cursor selection code. Ryan C. Gordon 2024-02-16 08:22:13 -05:00
  • 5e51a37518 emscripten, wayland, x11: Share the table of CSS cursor names Simon McVittie 2024-02-16 12:43:05 +00:00
  • 372564299e emscripten, wayland, x11: Map SIZEALL to "all-scroll" instead of "move" Simon McVittie 2024-02-16 12:31:48 +00:00
  • c397fe0c51 wayland: Prefer to use CSS names for cursors, falling back to X11 Ryan C. Gordon 2024-02-16 07:29:00 +00:00
  • 95227e2732 wayland: Use CSS/freedesktop cursor name "default" as a fallback Simon McVittie 2024-02-16 11:18:46 +00:00
  • 271df2fdd8 emscripten, wayland, x11: Share the table of CSS cursor names Simon McVittie 2024-02-16 12:43:05 +00:00
  • aa6c390bbd emscripten, wayland, x11: Map SIZEALL to "all-scroll" instead of "move" Simon McVittie 2024-02-16 12:31:48 +00:00
  • 67827c0b00 wayland: Prefer to use CSS names for cursors, falling back to X11 Ryan C. Gordon 2024-02-16 07:29:00 +00:00
  • e2535ba547 wayland: Use CSS/freedesktop cursor name "default" as a fallback Simon McVittie 2024-02-16 11:18:46 +00:00
  • b986bc8be9 emscripten, wayland, x11: Share the table of CSS cursor names Simon McVittie 2024-02-16 12:20:21 +00:00
  • 7dbd6669c3 wayland: Move calls to WAYLAND_wl_cursor_theme_get_cursor out of the switch Simon McVittie 2024-02-16 11:41:01 +00:00
  • 40a6c1c0a7 wayland: Use CSS/freedesktop cursor name "default" as a fallback Simon McVittie 2024-02-16 11:18:46 +00:00
  • 791646535a wayland: Reference CSS cursor name vocabulary Simon McVittie 2024-02-16 11:20:25 +00:00
  • 6f8d6da77f x11: Use XcursorLibraryLoadCursor to load system cursors when available. Ryan C. Gordon 2024-02-16 02:06:32 -05:00
  • 6c0e3532fa x11: Use XcursorLibraryLoadCursor to load system cursors when available. Ryan C. Gordon 2024-02-16 02:06:32 -05:00
  • cb9565354c x11: Use XcursorLibraryLoadCursor to load system cursors when available. Ryan C. Gordon 2024-02-16 02:06:32 -05:00
  • d451fcd7a7 Fixed HDR video content being too bright on Apple platforms Sam Lantinga 2024-02-15 16:39:13 -08:00
  • c09daf8388 Removed unused variables Sam Lantinga 2024-02-15 14:10:58 -08:00
  • 6f15aec644 don't let SDL_render.c:render_drivers[] have an empty initializer list. Ozkan Sezer 2024-02-15 20:33:24 +03:00
  • 9bed177f10 Check the SDL_VIDEO_RENDER_??? macros with #if instead of #ifdef Ozkan Sezer 2024-02-15 02:55:02 +03:00
  • 6efe5f30ed don't let SDL_render.c:render_drivers[] have an empty initializer list. Ozkan Sezer 2024-02-15 20:55:04 +03:00
  • aae2d22852 Check the SDL_VIDEO_RENDER_??? macros with #if instead of #ifdef Ozkan Sezer 2024-02-15 20:55:02 +03:00
  • 8ddddd36cd audio: Deal with race conditions against default device changes. Ryan C. Gordon 2024-02-15 14:11:36 -05:00
  • bc30fb295d don't let SDL_render.c:render_drivers[] have an empty initializer list. Ozkan Sezer 2024-02-15 20:33:24 +03:00
  • d0731ab9a3 Check the SDL_VIDEO_RENDER_??? macros with #if instead of #ifdef Ozkan Sezer 2024-02-15 02:55:02 +03:00
  • 4eae38580f cocoa: Remove resize hack when changing the window backing scale Zeroing the window width and height was necessary in SDL2 to short-circuit the resize event deduplication code when the window backing scale changed, but not the logical size. This is no longer necessary in SDL3, as it will explicitly check for scale changes on resize events and dispatch pixel size/scale changed events as appropriate, even if the window's logical size hasn't changed. Frank Praznik 2024-02-14 17:21:09 -05:00
  • 7de4f16710 wayland: Don't store wl_output pointers in mode driver data Frank Praznik 2024-02-14 10:51:09 -05:00
  • 699cec1a8d wayland: Don't store wl_output pointers in mode driver data Frank Praznik 2024-02-14 10:51:09 -05:00
  • f9ba0e1dbd wayland: Don't store wl_output pointers in mode driver data Frank Praznik 2024-02-14 10:27:42 -05:00
  • 5e1d9d19a4 audio: Don't use SDL_BindAudioStream inside SDL_OpenAudioDeviceStream(). Ryan C. Gordon 2024-02-13 15:23:27 -05:00
  • 5e6ae85b63 Update the draggable state when the hit test callback changes Sam Lantinga 2024-02-13 09:26:08 -08:00
  • 4d4c24acdd Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-13 17:07:23 +00:00
  • bc984f78bf android: Remove blocking permission request code. Async only in SDL3! Ryan C. Gordon 2024-02-12 19:46:03 -05:00
  • af61cfd5e0 android: Added SDL_AndroidRequestPermissionAsync. Ryan C. Gordon 2024-02-12 15:26:09 -05:00
  • 310f21bf84 video: Ensure that all references to a destroyed fullscreen window are removed Frank Praznik 2024-02-13 09:42:54 -05:00
  • f2695856d6 Use SDL string functions Sam Lantinga 2024-02-12 19:51:48 -08:00
  • 725c79f3ac Fixed building with SDL_LEAN_AND_MEAN Sam Lantinga 2024-02-12 19:34:10 -08:00
  • 734d6fa1f3 Fixed documentation of SDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN Sam Lantinga 2024-02-12 18:53:26 -08:00
  • ead3cbafd7 Fixed documentation for SDL_HINT_WINDOWS_CLOSE_ON_ALT_F4 (thanks @AntTheAlchemist!) Sam Lantinga 2024-02-12 18:32:29 -08:00
  • beac43f41f Revert "wayland: Don't initialize OpenGL when the window flags didn't specify it" Sam Lantinga 2024-02-12 16:01:48 -08:00
  • 120b8d4189 Revert "wayland: Don't initialize OpenGL when the window flags didn't specify it" Sam Lantinga 2024-02-12 16:01:48 -08:00
  • 8538d5dcf1 Fixed error: unused variable 'axes' [-Werror,-Wunused-variable] Sam Lantinga 2024-02-12 11:18:11 -08:00
  • 6669d04ea6 Fixed error: unused variable 'axes' [-Werror,-Wunused-variable] Sam Lantinga 2024-02-12 11:18:11 -08:00
  • 814a94c349 Fixed error: unused variable 'axes' [-Werror,-Wunused-variable] Sam Lantinga 2024-02-12 11:18:11 -08:00
  • b39246936b Added SDL_cocoashape* to Xcode project Sam Lantinga 2024-02-12 11:17:54 -08:00
  • f4d97bdb14 Update mouse transparency when the window shape changes Sam Lantinga 2024-02-12 10:49:45 -08:00
  • 0fb294ade4 Explicitly retain and release NSObjects in C structures Sam Lantinga 2024-02-12 10:20:06 -08:00
  • 971c5c2610 Explicitly retain and release NSObjects in C structures Sam Lantinga 2024-02-12 10:20:06 -08:00
  • 42cdbf6b21 Explicitly retain and release NSObjects in C structures Sam Lantinga 2024-02-12 10:20:06 -08:00
  • 87c07a79c0 Changed property name from '-' to '_' Sam Lantinga 2024-02-12 09:55:12 -08:00
  • 59f1e66adc Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-12 17:55:23 +00:00
  • dca2721b91 Removed SDL_HINT_VIDEO_EXTERNAL_CONTEXT Sam Lantinga 2024-02-11 19:37:16 -08:00
  • 2f7c24e4be Removed SDL_HINT_RENDER_SCALE_QUALITY Sam Lantinga 2024-02-11 19:07:07 -08:00
  • 20051f805f Removed SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 Sam Lantinga 2024-02-11 18:12:08 -08:00
  • 7cb1ca60ec Removed SDL_HINT_RENDER_OPENGL_SHADERS Sam Lantinga 2024-02-11 18:08:30 -08:00
  • 9920e062d5 Removed SDL_HINT_THREAD_STACK_SIZE Sam Lantinga 2024-02-11 18:04:56 -08:00
  • 9e505252c0 Renamed SDL_HINT_PS2_DYNAMIC_VSYNC SDL_HINT_RENDER_PS2_DYNAMIC_VSYNC Sam Lantinga 2024-02-11 18:03:09 -08:00
  • a538936821 Renamed SDL_HINT_LINUX_JOYSTICK_DEADZONES to SDL_HINT_JOYSTICK_LINUX_DEADZONES Sam Lantinga 2024-02-11 17:57:25 -08:00
  • 980c379a0b Renamed SDL_HINT_LINUX_JOYSTICK_CLASSIC to SDL_HINT_JOYSTICK_LINUX_CLASSIC Sam Lantinga 2024-02-11 17:56:44 -08:00
  • 1f7936d545 Renamed SDL_HINT_LINUX_HAT_DEADZONES to SDL_HINT_JOYSTICK_LINUX_HAT_DEADZONES Sam Lantinga 2024-02-11 17:55:57 -08:00
  • 39cfb437ed Renamed SDL_HINT_LINUX_DIGITAL_HATS to SDL_HINT_JOYSTICK_LINUX_DIGITAL_HATS Sam Lantinga 2024-02-11 17:55:13 -08:00
  • b557c15bcf Renamed SDL_HINT_JOYSTICK_GAMECUBE_RUMBLE_BRAKE to SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE_RUMBLE_BRAKE Sam Lantinga 2024-02-11 17:54:31 -08:00
  • 4f628b5b62 Renamed SDL_HINT_GDK_TEXTINPUT_DEFAULT to SDL_HINT_GDK_TEXTINPUT_DEFAULT_TEXT Sam Lantinga 2024-02-11 17:53:47 -08:00
  • fd5d761128 Renamed SDL_HINT_DIRECTINPUT_ENABLED to SDL_HINT_JOYSTICK_DIRECTINPUT Sam Lantinga 2024-02-11 17:53:08 -08:00
  • a5da7d0dd5 Renamed SDL_HINT_ALLOW_TOPMOST to SDL_HINT_WINDOW_ALLOW_TOPMOST Sam Lantinga 2024-02-11 17:52:05 -08:00
  • ef8791cba8 Cleaned up and organized hint documentation Sam Lantinga 2024-02-11 09:49:28 -08:00
  • 9ce7fe2848 Removed SDL_HINT_ACCELEROMETER_AS_JOYSTICK Sam Lantinga 2024-02-11 09:25:16 -08:00
  • 5af7113842 Rename property define names to have a type suffix Zack Middleton 2024-02-11 23:12:20 -06:00
  • cacac6cc34 Updated structure and field names for consistency Sam Lantinga 2024-02-11 08:03:26 -08:00
  • 6f87973b9c Added a reserved field to the SDL_Event structure Sam Lantinga 2024-02-11 06:38:00 -08:00
  • 97d6e58a19 mark SDL_CleanupWindowTextureData as SDLCALL. Ozkan Sezer 2024-02-11 18:55:40 +03:00
  • ee5289ef09 mark SDL_ClipboardTextCallback as SDLCALL Ozkan Sezer 2024-02-11 18:55:40 +03:00
  • 168322f358 SDL_properties.c: mark CleanupFreeableProperty and CleanupSurface as SDLCALL Ozkan Sezer 2024-02-11 17:29:20 +03:00
  • bba2a5d360 Added SDL_SetFreeableProperty() for internal use Sam Lantinga 2024-02-10 08:04:27 -08:00
  • 432ce3f167 Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-10 15:09:26 +00:00
  • 416803b03b Clarify the lifetime of the shape surface in SDL_SetWindowShape() Sam Lantinga 2024-02-10 07:08:28 -08:00