From f15b59b9319d4e5a43a3e3515cb0f0449c7224c7 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 19 Jan 2020 10:11:37 +0100 Subject: Add Windows driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Generate C header file based on layout description and create a source bundle that must be compiled on a Windows system and then moved back to the source tree. This sucks, but cross-compiling on Linux is a pain, since Windows’ development headers assume a case-insensitive filesystem. Also I’m using MSKLC because the latest driver development kit cannot compile these drivers correctly. Dear @microsoft, please fix your shit: https://github.com/microsoft/Windows-driver-samples/issues/433 A remaining concern right now is licensing. keyboard.{c,h,def,rc} have been copied from a project generated by MSKLC and are probably non-free, although pretty much identical files like https://github.com/microsoft/Windows-driver-samples/blob/master/input/layout/kbdus/kbdus.c are covered by MS-PL. Also binds backspace key to \b and adjusts xmodmap/svg rendering accordingly. See #7. --- lulua/data/winkbd/install.bat | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 lulua/data/winkbd/install.bat (limited to 'lulua/data/winkbd/install.bat') diff --git a/lulua/data/winkbd/install.bat b/lulua/data/winkbd/install.bat new file mode 100755 index 0000000..a68540b --- /dev/null +++ b/lulua/data/winkbd/install.bat @@ -0,0 +1,5 @@ +copy %~dp0\system32\kbdarlulua.dll /B c:\windows\system32\ +copy %~dp0\syswow64\kbdarlulua.dll /B c:\windows\syswow64\ +reg import %~dp0\lulua.reg +pause + -- cgit v1.2.3