Frank Praznik 75a65e05e1 x11: Use XInput2 events to pass through the keyboard ID to core key events
XInput2 keyboard handling has limitations: system keys that shouldn't be passed through when the keyboard isn't grabbed can be seen, and the text input system needs key events to flow through the X server to function properly (passing synthesized events through the filter function is not sufficient and doesn't work with non-Latin character sets).

The primary bit of information missing from the core X key events that XInput2 provides is the source device, so use the XInput2 slave keyboard device events to store that value, and apply it to core X key events with the same serial. XInput2 events always arrive before core events so this works universally.
2026-04-17 10:03:01 -04:00
2026-04-05 18:33:22 +00:00

Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.

You can find the latest release and additional information at: https://www.libsdl.org/

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

Enjoy!

Sam Lantinga (slouken@libsdl.org)

S
Description
Simple Directmedia Layer
Readme 205 MiB
Languages
C 85.6%
C++ 6.6%
Objective-C 3.3%
CMake 1.7%
Python 0.7%
Other 1.8%