summaryrefslogtreecommitdiff
path: root/lulua/keyboard.py
AgeCommit message (Collapse)AuthorFilesLines
2020-11-25keyboard: Move scancodes to yaml fileLars-Dominik Braun1-301/+59
Also add serialization and tests.
2020-11-14render: Add keylayout rendererLars-Dominik Braun1-0/+71
Not really functional, since we cannot control shift states and keys.
2020-10-17winkbd: Improve renderingLars-Dominik Braun1-65/+65
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-01-19Add Windows driverLars-Dominik Braun1-0/+72
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.
2019-09-29render: Add basic keyman supportLars-Dominik Braun1-0/+70
Works for simple keyboards only.
2019-09-17Initial importLars-Dominik Braun1-0/+221