aboutsummaryrefslogtreecommitdiff
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
parentb831bb0478723d6f542d71c24b14f0cf179cc79d (diff)
downloadmarsond-769a19dfa1ec168d7833e505aacaa5a77f1047cc.tar.gz
update version number and manual group.0.2.0
-rw-r--r--Makefile2
-rw-r--r--marsond.82
-rw-r--r--marsond.c4
-rw-r--r--marsond.rst4
4 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d302211..cf5f5fc 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
### Project information.
PROJ=marsond
-VERSION=0.1.4
+VERSION=0.2.0
### Compiler and options.
CC=gcc
diff --git a/marsond.8 b/marsond.8
index 1946b37..26694cd 100644
--- a/marsond.8
+++ b/marsond.8
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.TH "MARSOND" 8 "2025-05-07" "0.1.4" "SlackBuilds.org"
+.TH "MARSOND" 8 "2025-05-07" "0.2.0" "Urchlay's Stuff"
.SH NAME
marsond \- Fix Enter key timing on Marson/USBLink/MT606-1 PS/2-USB adaptors
.SH SYNOPSIS
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;
diff --git a/marsond.rst b/marsond.rst
index d338f0c..263c4a2 100644
--- a/marsond.rst
+++ b/marsond.rst
@@ -1,5 +1,5 @@
-.. |version| replace:: 0.1.4
+.. |version| replace:: 0.2.0
.. |date| date::
=======
@@ -11,7 +11,7 @@ Fix Enter key timing on Marson/USBLink/MT606-1 PS/2-USB adaptors
----------------------------------------------------------------
:Manual section: 8
-:Manual group: SlackBuilds.org
+:Manual group: Urchlay's Stuff
:Date: |date|
:Version: |version|