lenn

lenn synced commits to release-3.2.x at lenn/libsdl-org-mirror from mirror

  • 3b17d08eb2 win32: Check internal data when positioning child windows Under certain circumstances, processing events may try to position a child before it is fully initialized. Check the internal data before proceeding. (cherry picked from commit 9da46bc37fb9920f5ee12b187f165a30339985cc)

3 hours ago

lenn synced commits to main at lenn/libsdl-org-mirror from mirror

  • 9da46bc37f win32: Check internal data when positioning child windows Under certain circumstances, processing events may try to position a child before it is fully initialized. Check the internal data before proceeding.

3 hours ago

lenn synced commits to main at lenn/libsdl-org-mirror from mirror

  • 90fd2a3cbe Sync SDL3 wiki -> header [ci skip]
  • edd08771a9 wayland: Add xdg_toplevel v7 edge constraint support If a window isn't resizable from specific directions, the compositor can inform clients of the current edge constraints, so they don't display resize cursors for non-resizable edges.
  • View comparison for these 2 commits »

3 days ago

lenn synced commits to main at lenn/libsdl-org-mirror from mirror

  • 113475acbd wayland: Add multi-seat support Wayland environments can expose more than one seat for multiple collections of input devices, which can include multiple, simultaneously active, desktop pointers and keyboards with independent layouts. The Wayland input backend previously presumed that only one seat could exist, which caused broken behavior if the compositor exposed more than one, which is possible on wlroots based compositors such as Sway. This introduces support for handling multiple seats, including proper handling of dynamically added and removed seats and capabilities at run time. The SDL Wayland input system was accreted over time, and the assumption that only one seat will ever exist resulted in state and related objects not always being tied to their most appropriate owner in a multi-seat scenario, so refactoring was required to manage several bits of state per-seat, instead of per-window or globally. As Wayland keyboards can have per-seat layouts, fast keymap switching is required when multiplexing input from multiple seats to the global SDL keyboard device. A parameter was added to the keymap creation function to specify if the keymap lifetime should be externally managed to facilitate keymap reuse, and some layout info was moved from the global keyboard state to the keymap state to avoid unnecessarily redetermining it whenever a reused keymap is bound. This reduces the overhead of switching keymaps to setting a single pointer. Multiple seats also means that multiple windows can have keyboard and/or mouse focus at the same time on some compositors, but this is not currently a well-handled case in SDL, and will require more work to support, if necessary.

4 days ago

lenn synced commits to release-3.2.x at lenn/libsdl-org-mirror from mirror

  • 18d367afd2 Fixed process I/O redirection to NUL on Windows (cherry picked from commit 4093e4a193971ef1d4928158e0a1832be42e4599)
  • 9a4faf9ab9 Add the CREATE_NO_WINDOW flag for background processes Fixes https://github.com/libsdl-org/SDL/issues/12097 (cherry picked from commit c025fdbb7c5a5882ebcb0fc54ead13c9d6f9de39)
  • View comparison for these 2 commits »

4 days ago

lenn synced commits to main at lenn/libsdl-org-mirror from mirror

  • 4093e4a193 Fixed process I/O redirection to NUL on Windows
  • c025fdbb7c Add the CREATE_NO_WINDOW flag for background processes Fixes https://github.com/libsdl-org/SDL/issues/12097
  • 8a57c83ff9 Updated to GameInput v1.1 The biggest change is that the C API is no longer available. Here are more details: https://www.nuget.org/packages/Microsoft.GameInput Fixes https://github.com/libsdl-org/SDL/issues/12802
  • View comparison for these 3 commits »

4 days ago

lenn synced commits to release-3.2.x at lenn/libsdl-org-mirror from mirror

  • cb0ba020d4 Don't reset the render target when invalidating GPU renderer cache state Fixes https://github.com/libsdl-org/SDL/issues/12646 (cherry picked from commit f35a2736b708408bd5e6273255c03513cf60605a)

5 days ago

lenn synced commits to main at lenn/libsdl-org-mirror from mirror

  • f35a2736b7 Don't reset the render target when invalidating GPU renderer cache state Fixes https://github.com/libsdl-org/SDL/issues/12646

5 days ago

lenn synced commits to release-3.2.x at lenn/libsdl-org-mirror from mirror

  • f705e2f9f7 Fixed conflict when linking both SDL and hidapi statically Fixes https://github.com/libsdl-org/SDL/issues/12790 (cherry picked from commit 98e76d283fd164005d07ab5e95bc01b398a7ab91)
  • e76bffa183 Add Turtle Beach VelocityOne Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com> (cherry picked from commit f6db5ba4c9f97665c8053009b1d6993e5daad188)
  • View comparison for these 2 commits »

6 days ago

lenn synced commits to main at lenn/libsdl-org-mirror from mirror

6 days ago

lenn synced commits to main at lenn/libsdl-org-mirror from mirror

  • 60fb1b5541 Fix IMU orientations for 8bitdo wireless 2 controller in bluetooth mode Fix IMU timing stamp - simulate the timing stamp from the controller hardware's perspective, as opposed to the receiving computer's perspective. Do this by advancing a time stamp by a fixed rate, based on observation of average rate over bluetooth.
  • b0860fb0c2 Disable EGL in Emscripten builds
  • View comparison for these 2 commits »

6 days ago

lenn synced commits to main at lenn/libsdl-org-mirror from mirror

  • f303ccca64 Updated the report size for Ultimate 2 Wireless firmware v1.02

1 week ago

lenn synced commits to release-3.2.x at lenn/libsdl-org-mirror from mirror

  • a4e19dc567 [Windows]: dialog: Add `OFN_OVERWRITEPROMPT` to save dialogs (#12782) (cherry picked from commit 0add037803ef319d7e3478202151a425758a9995)

1 week ago

lenn synced commits to main at lenn/libsdl-org-mirror from mirror

1 week ago

lenn synced commits to release-3.2.x at lenn/libsdl-org-mirror from mirror

  • 4e1282617a Fixed non-XBox controllers being detected as Series X controllers First make sure we have an XBox One controller before checking whether it's a Series X/S controller. (cherry picked from commit 93ac1e6894fac101008643a6cf0cc13b4524d18e)

1 week ago

lenn synced commits to main at lenn/libsdl-org-mirror from mirror

  • 93ac1e6894 Fixed non-XBox controllers being detected as Series X controllers First make sure we have an XBox One controller before checking whether it's a Series X/S controller.

1 week ago

lenn synced commits to release-3.2.x at lenn/libsdl-org-mirror from mirror

  • f102ff16a2 Don't treat the Keychron K1 Pro System Control keyboard as a joystick Fixes https://github.com/libsdl-org/SDL/issues/12758 (cherry picked from commit d29bb902f3cf0cb22b4dc313dc1003abfd9fb1be)
  • 50935a9d41 fix sdlgenblit.pl so that it actually matches the generated source (cherry picked from commit b0a0d236d85088a5c7cf80f25c60f3dcabe290d0)
  • View comparison for these 2 commits »

1 week ago

lenn synced commits to main at lenn/libsdl-org-mirror from mirror

  • d29bb902f3 Don't treat the Keychron K1 Pro System Control keyboard as a joystick Fixes https://github.com/libsdl-org/SDL/issues/12758
  • ab57ef9d7b update sdlgenblit.pl after PR/12769 Closes: https://github.com/libsdl-org/SDL/issues/12774.
  • b0a0d236d8 fix sdlgenblit.pl so that it actually matches the generated source
  • 0fdfa925f2 rename local pointer vars 'pixel' to 'pixels' Reference issue: https://github.com/libsdl-org/SDL/issues/12749.
  • 46c314cc3d Revert "bool is 4 bytes in Apple MacOS X 32 bit PPC ABI" This reverts commit 5a59b5f3216866f4b3032d1e2c9d66e239ee5262. The strong ABI guarantee only applies if bool is a byte (we repurposed a Uint8 field as a bool in SDL_gpu.h), and 32-bit PPC isn't a platform we support, so I'm going to back this patch out.
  • View comparison for these 6 commits »

1 week ago

lenn synced commits to main at lenn/libsdl-org-mirror from mirror

  • 97eddacd7a Use the actual value of EGL_PLATFORM_DEVICE_EXT if it's not defined
  • 4c1a3ccd45 rename local vars 'pixel' to 'pixelvalue' Reference issue: https://github.com/libsdl-org/SDL/issues/12749.
  • 433704e774 rename 'pixel' params of SDL_GetRGB, SDL_GetRGBA and SDL_LookupRGBAColor Reference issue: https://github.com/libsdl-org/SDL/issues/12749.
  • View comparison for these 3 commits »

1 week ago

lenn synced commits to release-3.2.x at lenn/libsdl-org-mirror from mirror

  • a1dde664d1 Updated version documentation to match SDL 3.x practice (cherry picked from commit cccad933a083c8500f0e0267befa460b8d48f76f)
  • ba5325fba1 x11/wayland: Ignore redundant restore and fullscreen leave requests when showing the window The window may be initially maximized or made fullscreen by the window manager for various reasons, such as automatically declaring a window that precisely fills the usable desktop space as maximized, or a "kiosk-mode" automatically making the window fullscreen. Don't redundantly make restored or unset fullscreen calls when initially showing a window, or the expected state can be unset. (cherry picked from commit adad7dcae09292adc4a0bf429fa75eafb21dbff3)
  • View comparison for these 2 commits »

1 week ago