From e86ef2e712b44c0c14e0e1d19424ac69c0355ef2 Mon Sep 17 00:00:00 2001 From: spv Date: Wed, 24 Sep 2025 19:16:27 -0400 Subject: cleanup --- README | 7 +++++-- src/config.h | 2 +- src/keypress_thread.c | 4 ---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README b/README index d23808b..11e71a8 100644 --- a/README +++ b/README @@ -1,7 +1,10 @@ kblightd ======== -jank wip keyboard backlight dsemon +keyboard backlight daemon for the cat s22 + +no warranty. if it blows up or starts screaming in latin, call a priest and +leave me out of it. roadmap ------- @@ -14,7 +17,7 @@ roadmap [x] magisk module -[ ] enable on lid-open +[n] enable on lid-open (fuck polling) [ ] config file in /data/??? diff --git a/src/config.h b/src/config.h index ece1e36..b958706 100644 --- a/src/config.h +++ b/src/config.h @@ -1,7 +1,7 @@ #ifndef CONFIG_H #define CONFIG_H -/* time to wait in /dev/input fred loop */ +/* time to wait in /dev/input read loop */ #define DEBOUNCE (10 MS) /* time to wait in backlight setter loop */ diff --git a/src/keypress_thread.c b/src/keypress_thread.c index 1b102d4..d5ec6bf 100644 --- a/src/keypress_thread.c +++ b/src/keypress_thread.c @@ -1,5 +1,3 @@ -// XXX includes - #include "consts.h" #include "config.h" @@ -11,8 +9,6 @@ void on_press(void) { gettimeofday(last_press, NULL); kill(light_pid, SIGCONT); - - // XXX signal light thread } void keypress_thread(pid_t _light_pid) { -- cgit v1.2.3