abouttreesummaryrefslogcommitdiff
path: root/gen_layouts.py
diff options
context:
space:
mode:
authorJules Aguillon2025-05-30 00:08:59 +0200
committerJules Aguillon2025-05-30 20:07:26 +0200
commit2a50a4a129f96784af15f82c0a5d9b09d780dd61 (patch)
tree04b849b0ce6321d31b471cade70e8fde1f9d591a /gen_layouts.py
parent9ab099175d8b0548eeeb77cc963dd1c13b9cbaf7 (diff)
downloadunexpected-keyboard-2a50a4a129f96784af15f82c0a5d9b09d780dd61.tar.gz
unexpected-keyboard-2a50a4a129f96784af15f82c0a5d9b09d780dd61.zip
Fix high keyboard height making it overflows
The calculation for the size of each rows now avoid making the keyboard bigger than the screen if the Keyboard Height option is unusually high. The height calculation with the default settings is changed slightly, it is now assuming that a layout is 3.95 rows high instead of 4. This is because the bottom row is usually 0.95% the size of other rows.
Diffstat (limited to 'gen_layouts.py')
0 files changed, 0 insertions, 0 deletions