diff options
| -rw-r--r-- | README | 7 | ||||
| -rw-r--r-- | src/config.h | 2 | ||||
| -rw-r--r-- | src/keypress_thread.c | 4 |
3 files changed, 6 insertions, 7 deletions
@@ -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) { |
