SeungheonOh / QMK_KeymapToAsciiTable

Convert QMK keymap file into Comment Ascii Table
MIT License
27 stars 3 forks source link

Update QMK_KeymapToAsciiTable.py #2

Open typorian opened 4 years ago

typorian commented 4 years ago

This can now automatically recognize additional KeyCodes that are not hardcoded into the QMK dictionary. However, there are certain limitations to this recognitions. Layers that are used in toggles such as LT and MO must be present as numbers.

This should in theory work for all keycodes of the form [A-Z]([0,9]) and [A-Z]([0,9],[A-Z]*). Note however, there are keycodes such as LT(Layer, tap_key) that will unfortunately break the nicely arranged ascii layout.