Hi,

The patch below updates libinput-openbsd to the HEAD of
https://github.com/sizeofvoid/libopeninput/ whhere I implemented
support for USB keyboards.

But please note that if you have different keyboard types connected to
the wskbd mux, the last connected one before launching an application that
opens the mux "wins" (the other ones with different types or connected
later will generate random useless symbols). This is something that
can't be fixed without a change in the kernel wscons protocol to
actually provide an identifier of the device who produced the event to
each event in a mux. This will take some time to be done correctly.

Changes :

ba8406af Better wscons device initialization and keyboard mapping handling.
60f16ee7 remove some debugging printf()s
41446a3d white space fixes
b12c5d29 OpenBSD lacks strtod_l(3) but defaults to C locale semantics anyways
f5930e9f Add support for USB keyboards

ok ?


Index: Makefile
===================================================================
RCS file: /local/cvs/ports/wayland/libinput-openbsd/Makefile,v
diff -u -p -u -r1.14 Makefile
--- Makefile    20 Nov 2023 07:21:56 -0000      1.14
+++ Makefile    1 Jan 2024 15:58:39 -0000
@@ -22,10 +22,10 @@ CATEGORIES =        x11 wayland
 
 GH_ACCOUNT =   sizeofvoid
 GH_PROJECT =   libopeninput
-GH_COMMIT =    1369aa24408ff762b517262dd097a26b5072d9b0
+GH_COMMIT =    ba8406afbc815993b01c00c52f5e9eadb43db8e3
 
 DISTNAME =     libinput-openbsd-1.24.0
-REVISION =     1
+REVISION =     2
 
 SHARED_LIBS =  input   0.0
 
Index: distinfo
===================================================================
RCS file: /local/cvs/ports/wayland/libinput-openbsd/distinfo,v
diff -u -p -u -r1.3 distinfo
--- distinfo    15 Nov 2023 19:41:29 -0000      1.3
+++ distinfo    1 Jan 2024 15:58:39 -0000
@@ -1,2 +1,2 @@
-SHA256 (libinput-openbsd-1.24.0-1369aa24.tar.gz) = 
7G283g+HCAN3PlSv4q5f+SAB2lLT/KyJktojNz6pjTo=
-SIZE (libinput-openbsd-1.24.0-1369aa24.tar.gz) = 1036878
+SHA256 (libinput-openbsd-1.24.0-ba8406af.tar.gz) = 
CudoT3g0cXKdZepvx5n8ZiA6Sm50iXKK3qeqpqPkoc4=
+SIZE (libinput-openbsd-1.24.0-ba8406af.tar.gz) = 1039095

-- 
Matthieu Herrb

Reply via email to