Skip to content

Meta repo for the evdev driver, shell script and python code used for managing the office door

License

Notifications You must be signed in to change notification settings

lugatuic/doorkeeper-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Door-Driver

An EVDEV driver written in Rust

  • 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).

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

No packages published