- The card reader is basically the keyboard, presented in /dev/input/eventX.
- The Rust program hijacks the input device to prevent spurious inputs to the OS. (Technically, the raspberry pi would just be sitting at the TTY login prompt. Don't want the input to also go there).
- Key press and unpress events are processed with libxkbcommon to make sure special characters are handled. Example: SHIFT + 3 = #
- The utf8 result from above is printed to STDOUT (flushed at after each character).
-
Notifications
You must be signed in to change notification settings - Fork 0
Meta repo for the evdev driver, shell script and python code used for managing the office door
License
lugatuic/doorkeeper-driver
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Meta repo for the evdev driver, shell script and python code used for managing the office door
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published