screenkey is a popular project for streamers or tutorial recorders because it can make your typing visual on screen, but it only works under X11, not Wayland because it uses X11 functions to get keyboard event.
This program, instead, reads key events via libinput directly, and then put it on screen, so it will not depend on X11 or special Wayland Compositors and will work across them.
UPDATE: libinput is better to use for getting key events, it's easier than reading from evdev.
Goal for this Hackweek
- Make a backend program that reading events via libinput.
- Make a frontend program with GTK to show keys like screenkey.
- Combine them, let user choose keyboard device and starts the event reader (may ask for permission with pkexec).
This project is part of:
Hack Week 20
This project is one of its kind!