aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py
diff options
context:
space:
mode:
authorGravatar dbroqua <dbroqua@mousur.org>2016-10-14 21:53:37 +0200
committerGravatar dbroqua <dbroqua@mousur.org>2016-10-14 21:53:37 +0200
commit28ca1f5345f665e262e8f5af88ac166afcd35add (patch)
tree608b09db4b9a09012d558e8352768b690900d407 /keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py
parent0320fbf6f4c3c6d079226bc49c7b4d3a3906f5d7 (diff)
parent2098b363eac81298ca51edc06970a767d991c78c (diff)
downloadqmk_firmware-28ca1f5345f665e262e8f5af88ac166afcd35add.tar.gz
Merge branch 'master' of https://github.com/Dbroqua/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