aboutsummaryrefslogtreecommitdiff
path: root/marsond.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-05-11 03:46:19 -0400
committerB. Watson <urchlay@slackware.uk>2025-05-11 03:46:19 -0400
commit874429aa19832b1e902554381ed5bdd1927c95fa (patch)
treebeb920bda6679ced7abf8a7a548b63856d91d251 /marsond.c
parent627a209c100d563de7b3da65e5037d647c6f2ede (diff)
downloadmarsond-874429aa19832b1e902554381ed5bdd1927c95fa.tar.gz
make vendor/product IDs and default device names configurable at build time.
Diffstat (limited to 'marsond.c')
-rw-r--r--marsond.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/marsond.c b/marsond.c
index 719129a..71b5eb6 100644
--- a/marsond.c
+++ b/marsond.c
@@ -24,7 +24,9 @@
#define DEFAULT_DELAY_MS 30
+#ifndef DEFAULT_KBD
#define DEFAULT_KBD "/dev/input/by-id/usb-Marson_Marson_Keyboard_and_Mouse_Link_Ver:ps2120L-event-kbd"
+#endif
#define DEFAULT_USER "nobody"
#define DEFAULT_GROUP "nobody"