diff options
author | IBNobody <ibnobody@gmail.com> | 2016-10-23 20:45:20 -0500 |
---|---|---|
committer | IBNobody <ibnobody@gmail.com> | 2016-10-23 20:45:20 -0500 |
commit | 05ceef2350dbd72f696d70b8a2567d048fa147dc (patch) | |
tree | 598e5f77c3b32d96774fd096765908fcbdf15df9 /keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py | |
parent | 826417bfc001377719c9034fe273d1596ba62c9c (diff) | |
parent | 2e2b9962cdc20e9f46dd0194f25a68ffa05e7d36 (diff) | |
download | qmk_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-x | keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py | 5 |
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 |