]> git.ipfire.org Git - thirdparty/plymouth.git/commit
src: Add support for /dev/input devices
authorDiego Augusto <diego.augusto@protonmail.com>
Sat, 15 Oct 2022 17:45:42 +0000 (13:45 -0400)
committerRay Strode <rstrode@redhat.com>
Tue, 29 Nov 2022 14:22:06 +0000 (09:22 -0500)
commitdbec44871d2ab70d473199c4c7382ebef4e69f06
treeaa5868174307e26d9a840c19eba2d6cccbfc0d4d
parenta2f03d4b989d98bc40443659a01b1a8c79c5f771
src: Add support for /dev/input devices

Plymouth currently gets keyboard input from the terminal. This isn't
ideal, since it means plymouth requires VTs to be enabled in the kernel.

Furthermore, most display servers use /dev/input and libxkbcommon for
keyboard handling these days.

This commit adds similar support to the plymouth core code. Subsequent
commits will add support to the render plugins.

Some contributions by n3rdopolis and Ray Strode.
meson.build
src/libply-splash-core/meson.build
src/libply-splash-core/ply-device-manager.c
src/libply-splash-core/ply-input-device.c [new file with mode: 0644]
src/libply-splash-core/ply-input-device.h [new file with mode: 0644]
src/libply-splash-core/ply-renderer-plugin.h
src/libply-splash-core/ply-renderer.c
src/libply-splash-core/ply-renderer.h
src/libply-splash-core/ply-terminal.c
src/libply-splash-core/ply-terminal.h
src/libply-splash-graphics/ply-keymap-icon.c