1
0
Fork
You've already forked microfiber
0
Block input from devices while being cleaned
  • C 87.1%
  • Meson 12.9%
Find a file
2026年07月02日 15:18:33 -04:00
platform init 2026年07月02日 15:14:47 -04:00
.gitignore init 2026年07月02日 15:14:47 -04:00
cleaner.h init 2026年07月02日 15:14:47 -04:00
LICENSE init 2026年07月02日 15:14:47 -04:00
main.c init 2026年07月02日 15:14:47 -04:00
meson.build release 0.1.0 2026年07月02日 15:18:33 -04:00
README.md init 2026年07月02日 15:14:47 -04:00

microfiber

A basic C utility to block input while cleaning hardware.

License

compiling

$ meson setup build
$ meson compile -C build

usage

Must be run as root.

# ./microfiber
=> Usage: ./microfiber <seconds>
 seconds time to block input devices
=> Example: ./microfiber 30
# ./microfiber 30
=> unlocking in 30 seconds...

features

Why use meson instead of e.g. POSIX make? The point is simply to autodetect the platform at compile time.

The current Linux implementation works fine. OSes such as FreeBSD, OpenBSD, OS/X and more are planned.