diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2020-01-19 10:11:37 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2020-01-19 10:19:21 +0100 |
commit | f15b59b9319d4e5a43a3e3515cb0f0449c7224c7 (patch) | |
tree | 8afadd7358b5e16965e7ab4b3957db702c17869b /lulua/data/winkbd/keyboard.rc | |
parent | 810c8ff0bea17214b4e4c5ce802ad89b5ad6e2c9 (diff) | |
download | lulua-f15b59b9319d4e5a43a3e3515cb0f0449c7224c7.tar.gz lulua-f15b59b9319d4e5a43a3e3515cb0f0449c7224c7.tar.bz2 lulua-f15b59b9319d4e5a43a3e3515cb0f0449c7224c7.zip |
Add Windows driver
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.
Diffstat (limited to 'lulua/data/winkbd/keyboard.rc')
-rw-r--r-- | lulua/data/winkbd/keyboard.rc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lulua/data/winkbd/keyboard.rc b/lulua/data/winkbd/keyboard.rc new file mode 100644 index 0000000..c4576d7 --- /dev/null +++ b/lulua/data/winkbd/keyboard.rc @@ -0,0 +1,29 @@ +#include "winver.h"
+1 VERSIONINFO
+ FILEVERSION 1,0,0,02
+ PRODUCTVERSION 1,0,0,02
+ FILEFLAGSMASK 0x3fL
+ FILEFLAGS 0x0L
+FILEOS 0x40004L
+ FILETYPE VFT_DLL
+ FILESUBTYPE VFT2_DRV_KEYBOARD
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "000004B0"
+ BEGIN
+ VALUE "CompanyName", "6xq.net\0"
+ VALUE "FileDescription", "Ergonomic Arabic Keyboard Layout lulua\0"
+ VALUE "FileVersion", "0.2\0"
+ VALUE "InternalName", "kbdarlulua\0"
+ VALUE "ProductName","lulua\0"
+ VALUE "LegalCopyright", "see https://opensource.org/licenses/MIT\0"
+ VALUE "OriginalFilename","kbdarlulua\0"
+ VALUE "ProductVersion", "0.2\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0000, 0x04B0
+ END
+END
|