summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py
diff options
context:
space:
mode:
authorGergely Nagy <algernon@madhouse-project.org>2016-10-03 19:20:00 +0200
committerGergely Nagy <algernon@madhouse-project.org>2016-10-03 19:20:00 +0200
commitaa9c6e9f59c5e45c6ea71cd3aa8fb037e88c11b6 (patch)
tree0730c742b59c158d28464c6bbcddba0bb062c140 /keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py
parent86065dca4d11338f778e40c2cd545e0b85c489c0 (diff)
ergodox: Update algernon's keymap to v1.8
ADORE ----- * Major rearrangements were made, to reduce pinky use, and to balance out the hand usage. Tools ----- * The `hid-commands` tool will now display a notification when the **AppSel** layer is triggered. * The `log-to-heatmap.py` tool now treats the innermost keys on the bottom row as thumb keys, as far as statistics are concerned. Miscellaneous ------------- * Fixed the **Steno** toggle key. * My wife is now present on the keyboard too. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Diffstat (limited to 'keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py')
-rwxr-xr-xkeyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py b/keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py
index 09c737646c..e927e0e39d 100755
--- a/keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py
+++ b/keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py
@@ -145,6 +145,11 @@ class Heatmap(object):
usage[0][4] = usage[0][4] + self.log[(c, r)]
else:
usage[1][0] = usage[1][0] + self.log[(c, r)]
+ elif r == 4 and (c == 4 or c == 9): # bottom row thumb keys
+ if c <= 6: # left side
+ usage[0][4] = usage[0][4] + self.log[(c, r)]
+ else:
+ usage[1][0] = usage[1][0] + self.log[(c, r)]
else:
fc = c
hand = 0