There are 2 apps in these repositories
-
app/LKLV.pyw is the Keybord Layout Vizualizer, When the file is executed it will launch app/hotkeymonitor.ahk. This file needs AutoHotKey to run and is needed to communicate the key presses to the app API. The Fn key is not detectable by the OS, if you want to use that key, you will need to configure this script and your keyboard to communicate when the Fn key is being pressed. For that purpose there are ahk scripts and executables that will activate the Fn layer in app/Fn detector, you can bind your keyboard to execute them. If you don't use them, you might disable their detection in app/hotkeymonitor.ahk, Line 21
ㅤㅤㅤCtrl+: Increase the app sizeCtrl-: Decrease the app sizeCtrlM: Mask the TitleBar (while masked, usingAlt+Tabwill bring the app to the front if it gets masked by another window)
ㅤㅤㅤ
ㅤㅤㅤYou can compile app/LKLV.pyw into an executable with tools like Auto PY to EXE if you wish to have a proper icon like this one in your taskbar instead of the python window logo. -
LayerMaker/xlsx to png.py is the app that will generate, when executed, the keyboard template used by LKLV.pyw in the app/Layers folder, it will do so based on the LayerMaker/KeybordLayout.xlsx spreadsheet. It is HEAVILY recommended to run this file with Excel to modify the keys because it relies on conditonal formating and checkboxes.
In this configuration, this app is configured to display a customized Optimot Layout on a keyboard with the shape of the Keychron V5 Max ISO. The keys are easily editable in the Excel spreedsheet but changing the shape of the keyboard will require heavy changes to LayerMaker/KeybordLayout.xlsx and LayerMaker/xlsx to png.py. I'm not willing to do more developpement of this app to support other keybord or layout or to implement ways of making it easier, as it is a personal project to begin with. But if you have any question for making you own version, don't hesitate to contact me, I will gladely help !