aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspv <spv@spv.sh>2025-09-24 19:16:27 -0400
committerspv <spv@spv.sh>2025-09-24 19:16:27 -0400
commite86ef2e712b44c0c14e0e1d19424ac69c0355ef2 (patch)
tree2083cd26374da9e36e709f9155c45acc51ed9882
parent7421749f450d9845574a64476a7bebbf8555e8d7 (diff)
cleanup
-rw-r--r--README7
-rw-r--r--src/config.h2
-rw-r--r--src/keypress_thread.c4
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) {