graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY The Xkb implementation starts to track the state of the LEDs in the keymap and emits a signal whenever the LEDs change. This signal is connected to a method in LibInput::Connection which updates the led state on all devices and uses it to init the state of the led when a new device gets connected. BUG: 369214 FIXED-IN: 5.8.1 TEST PLAN Connected a keyboard with LEDs and enabled NumLock and ScrollLock. REPOSITORY rKWIN KWin BRANCH keyboard-leds-5.8 REVISION DETAIL https://phabricator.kde.org/D2943 AFFECTED FILES input.cpp keyboard_input.cpp keyboard_input.h libinput/connection.cpp libinput/connection.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma_on_wayland Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas