summaryrefslogtreecommitdiff
path: root/lulua/render.py
AgeCommit message (Collapse)AuthorFilesLines
2020-11-14render: Add keylayout rendererLars-Dominik Braun1-2/+47
Not really functional, since we cannot control shift states and keys.
2020-10-17winkbd: Improve renderingLars-Dominik Braun1-226/+21
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-2/+3
Automate the process via GitHub Actions as well. kbd.h can be simplified. Fixes #11.
2020-04-25render: Fix mirroring of bracketsLars-Dominik Braun1-1/+2
Apparently direction must be specified on parent <text> element to have an effect. This way brackets will be mirrored correctly when rendering.
2020-02-29Upgrade IBM Plex to 4.0.2Lars-Dominik Braun1-2/+2
Arabic font was renamed.
2020-01-26render: Fix heatmap renderingLars-Dominik Braun1-72/+100
Button caps will not overlap heat map any more. Change heat map to circles, which seem more fitting.
2020-01-26render: Pre-compute button positionsLars-Dominik Braun1-34/+44
In preparation for fixing heapmap rendering.
2020-01-19Add Windows driverLars-Dominik Braun1-4/+253
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-11-03render: Add AnySoftKeyboard layout file rendererLars-Dominik Braun1-2/+74
2019-11-02render: Improve generated SVG compatibilityLars-Dominik Braun1-43/+66
Switch to proper SVG user coordinate rendering instead of font-dependent sizes. Embed WOFF2 fonts, so images have proper fonts when embedded. Remove font blobs and submodule IBM’s plex git repo.
2019-10-06render: Prepend RLI before characterLars-Dominik Braun1-1/+2
This helps Firefox flip brackets. Oddly, direction=rtl does not do that. Google Chrome does not support RLI/ALM in SVGs?
2019-09-30render: Add text shadowLars-Dominik Braun1-25/+32
Improves legibility when rendering heatmaps
2019-09-30stats/render: Add keyboard heatmap renderingLars-Dominik Braun1-4/+33
2019-09-30render: Move default SVG stylesheet to external resourceLars-Dominik Braun1-54/+9
2019-09-29render: Add basic keyman supportLars-Dominik Braun1-0/+36
Works for simple keyboards only.
2019-09-29render: Switch to subparser arg parsingLars-Dominik Braun1-126/+136
2019-09-28analyze: Customizeable triadfreq outputLars-Dominik Braun1-22/+3
Add commandline args to triadfreq.
2019-09-17Initial importLars-Dominik Braun1-0/+353