diff options
Diffstat (limited to 'keyboards/ergodox/keymaps/algernon/tools')
4 files changed, 42 insertions, 26 deletions
diff --git a/keyboards/ergodox/keymaps/algernon/tools/heatmap-layout.ADORE.json b/keyboards/ergodox/keymaps/algernon/tools/heatmap-layout.ADORE.json index 502d1e6ea4..a34edcf87e 100644 --- a/keyboards/ergodox/keymaps/algernon/tools/heatmap-layout.ADORE.json +++ b/keyboards/ergodox/keymaps/algernon/tools/heatmap-layout.ADORE.json @@ -111,11 +111,11 @@ "x": 3.5, "a": 6 }, - "G", + "C", { "x": 10.5 }, - "C" + "L" ], [ { @@ -128,11 +128,11 @@ "x": 1, "a": 6 }, - "L", + "H", { "x": 8.5 }, - "H", + "G", { "x": 1 }, @@ -143,7 +143,7 @@ "y": -0.875, "x": 5.5 }, - "M", + "F", { "a": 4, "fa": [0, 0, 0], @@ -158,7 +158,7 @@ { "a": 6 }, - "F" + "M" ], [ { @@ -167,7 +167,7 @@ "a": 4, "w": 1.5 }, - "\n\n~\n`", + "\n\n|\n\\", { "a": 6, "f": 3 @@ -175,14 +175,14 @@ "X", { "x": 14.5, - "a": 6 + "a": 4 }, - "Y", + "/\n?", { "a": 4, "w": 1.5 }, - "|\n\\" + "~\n`" ], [ { @@ -312,7 +312,7 @@ { "x": 1 }, - "J" + "Y" ], [ { @@ -342,10 +342,9 @@ }, "Z", { - "x": 14.5, - "a": 4 + "x": 14.5 }, - "?\n/", + "J", { "f": 9, "g": true, diff --git a/keyboards/ergodox/keymaps/algernon/tools/hid-commands b/keyboards/ergodox/keymaps/algernon/tools/hid-commands index f3b83cf6d1..2a6710be4a 100755 --- a/keyboards/ergodox/keymaps/algernon/tools/hid-commands +++ b/keyboards/ergodox/keymaps/algernon/tools/hid-commands @@ -1,6 +1,8 @@ #!/bin/bash set -e +LAST_APPSEL_START=0 + cmd_wm () { WIN="$(xdotool getactivewindow)" wmctrl -i -r ${WIN} -b remove,maximized_vert,maximized_horz @@ -34,6 +36,16 @@ cmd_appsel_chrome () { _cmd_appsel chromium } +cmd_appsel_start () { + APPSEL_START=$(date +%s) + if [ $APPSEL_START -lt $(expr $LAST_APPSEL_START + 10) ]; then + return + fi + LAST_APPSEL_START=$APPSEL_START + notify-send -t 1000 "Please select an application!" -c device -u low \ + -i /usr/share/icons/Adwaita/24x24/devices/video-display.png +} + cmd_help () { cat <<EOF Use the source, Luke! 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 diff --git a/keyboards/ergodox/keymaps/algernon/tools/text-to-log.py b/keyboards/ergodox/keymaps/algernon/tools/text-to-log.py index e068c3cbfb..f080c32cd0 100755 --- a/keyboards/ergodox/keymaps/algernon/tools/text-to-log.py +++ b/keyboards/ergodox/keymaps/algernon/tools/text-to-log.py @@ -15,20 +15,20 @@ charmap = { '6': [[11, 0]], '&': [[2, 5], [11, 0]], '8': [[12, 0]], - '`': [[0, 1]], '~': [[2, 5], [0, 1]], - 'y': [[1, 1]], 'Y': [[2, 5], [1, 1]], + '\\': [[0, 1]], '|': [[2, 5], [0, 1]], + 'x': [[1, 1]], 'X': [[2, 5], [1, 1]], 'w': [[2, 1]], 'W': [[2, 5], [2, 1]], - 'g': [[3, 1]], 'G': [[2, 5], [3, 1]], - 'l': [[4, 1]], 'L': [[2, 5], [4, 1]], - 'm': [[5, 1]], 'M': [[2, 5], [5, 1]], + 'c': [[3, 1]], 'C': [[2, 5], [3, 1]], + 'h': [[4, 1]], 'H': [[2, 5], [4, 1]], + 'f': [[5, 1]], 'F': [[2, 5], [5, 1]], '[': [[6, 1]], '{': [[2, 5], [6, 1]], '(': [[6, 1], [6, 1]], ']': [[7, 1]], '}': [[2, 5], [7, 1]], ')': [[7, 1], [7, 1]], - 'f': [[8, 1]], 'F': [[2, 5], [8, 1]], - 'h': [[9, 1]], 'H': [[2, 5], [9, 1]], - 'c': [[10, 1]], 'C': [[2, 5], [10, 1]], + 'm': [[8, 1]], 'M': [[2, 5], [8, 1]], + 'g': [[9, 1]], 'G': [[2, 5], [9, 1]], + 'l': [[10, 1]], 'L': [[2, 5], [10, 1]], 'p': [[11, 1]], 'P': [[2, 5], [11, 1]], - 'x': [[12, 1]], 'X': [[2, 5], [12, 1]], - '\\': [[13, 1]], '|': [[2, 5], [13, 1]], + '/': [[12, 1]], '?': [[2, 5], [12, 1]], + '`': [[13, 1]], '~': [[2, 5], [13, 1]], '\t': [[0, 2]], 'a': [[1, 2]], 'A': [[2, 5], [1, 2]], @@ -51,8 +51,8 @@ charmap = { 'b': [[8, 3]], 'B': [[2, 5], [8, 3]], 'k': [[9, 3]], 'K': [[2, 5], [9, 3]], 'v': [[10, 3]], 'V': [[2, 5], [10, 3]], - 'j': [[11, 3]], 'J': [[2, 5], [11, 3]], - '/': [[12, 3]], '?': [[2, 5], [12, 3]], + 'y': [[11, 3]], 'Y': [[2, 5], [11, 3]], + 'j': [[12, 3]], 'J': [[2, 5], [12, 3]], ':': [[4, 4]], ';': [[4, 4], [4, 4]], '-': [[9, 4]], '_': [[2, 5], [9, 4]], |