summaryrefslogtreecommitdiff
path: root/keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-10-23 20:45:20 -0500
committerIBNobody <ibnobody@gmail.com>2016-10-23 20:45:20 -0500
commit05ceef2350dbd72f696d70b8a2567d048fa147dc (patch)
tree598e5f77c3b32d96774fd096765908fcbdf15df9 /keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py
parent826417bfc001377719c9034fe273d1596ba62c9c (diff)
parent2e2b9962cdc20e9f46dd0194f25a68ffa05e7d36 (diff)
downloadqmk_firmware-05ceef2350dbd72f696d70b8a2567d048fa147dc.tar.gz
qmk_firmware-05ceef2350dbd72f696d70b8a2567d048fa147dc.zip
Merge remote-tracking branch 'refs/remotes/jackhumbert/master'
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