summaryrefslogtreecommitdiff
path: root/lulua/data/winkbd/keyboard.c
AgeCommit message (Collapse)AuthorFilesLines
2020-10-17winkbd: Improve renderingLars-Dominik Braun1-349/+0
Create self-containted, minimal, but still human-readable C file with all typedefs. Gets rid of the copied header file and all of its weird ifdef logic. Simplifies virtual scancode to virtual key mapping.
2020-09-13winkbd: Make Windows driver compileable with MingGWLars-Dominik Braun1-1/+0
Automate the process via GitHub Actions as well. kbd.h can be simplified. Fixes #11.
2020-01-19Add Windows driverLars-Dominik Braun1-0/+350
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.