summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py
diff options
context:
space:
mode:
authorIBNobody <protospherex@gmail.com>2016-10-29 18:13:15 +0200
committerIBNobody <protospherex@gmail.com>2016-10-29 18:13:15 +0200
commite40c33f754a86c4dd7bd3c7b5c7efe822f2893bc (patch)
treebf372a8afead88128f68d373435025a16fbf53c2 /keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py
parent973f526bb4928bf3aec6067aa444b31ace997c8a (diff)
parent32f88c07173b795c6981c779057dceba00aeb1cb (diff)
downloadqmk_firmware-e40c33f754a86c4dd7bd3c7b5c7efe822f2893bc.tar.gz
qmk_firmware-e40c33f754a86c4dd7bd3c7b5c7efe822f2893bc.tar.xz
Merge branch 'master' of https://github.com/IBNobody/qmk_firmware
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 09c737646..e927e0e39 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