aboutsummaryrefslogtreecommitdiff
path: root/marsond.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-05-07 03:30:14 -0400
committerB. Watson <urchlay@slackware.uk>2025-05-07 03:30:14 -0400
commit769a19dfa1ec168d7833e505aacaa5a77f1047cc (patch)
treec48b6245b3144d0a88b75ce9e61946b1ee0555ec /marsond.c
parentb831bb0478723d6f542d71c24b14f0cf179cc79d (diff)
downloadmarsond-769a19dfa1ec168d7833e505aacaa5a77f1047cc.tar.gz
update version number and manual group.0.2.0
Diffstat (limited to 'marsond.c')
-rw-r--r--marsond.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/marsond.c b/marsond.c
index 4a3b06a..1e0393f 100644
--- a/marsond.c
+++ b/marsond.c
@@ -311,6 +311,10 @@ int main(int argc, char **argv) {
}
debug("UI_SET_KEYBIT OK");
+ /* this is the old API. uinput.rst in the kernel sources shows
+ how to use the new API, then recommends using the old API
+ as a fallback for older kernels... I don't see a need to
+ even try the new API, if the old one works. */
memset(&dev, 0, sizeof(dev));
snprintf(dev.name, UINPUT_MAX_NAME_SIZE, "marsond virtual keyboard");
dev.id.bustype = BUS_USB;