aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGergely Nagy <algernon@madhouse-project.org>2016-12-28 19:27:48 +0100
committerGergely Nagy <algernon@madhouse-project.org>2016-12-28 19:27:48 +0100
commiteb588d630cdaf6be8ad7514c4b22025aefaa6992 (patch)
treecae8e90d1b9f9d4399d2edc11b32958e5eb58850
parent223cffd92f44311612aacbfb3358ec7a33a68d74 (diff)
downloadqmk_firmware-eb588d630cdaf6be8ad7514c4b22025aefaa6992.tar.gz
qmk_firmware-eb588d630cdaf6be8ad7514c4b22025aefaa6992.zip
ergodox: Update algernon's keymap to v1.10
Miscellaneous ============= * `µ` can now be entered with UCIS. * `™` can now be entered with UCIS. Tools ===== * `tools/hid-commands` can now find Banshee, and prefers it over Kodi. * `tools/hid-commands` can now find Chrome too, not juts Chromium. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
-rw-r--r--keyboards/ergodox/keymaps/algernon/NEWS.md14
-rw-r--r--keyboards/ergodox/keymaps/algernon/keymap.c8
-rwxr-xr-xkeyboards/ergodox/keymaps/algernon/tools/hid-commands5
3 files changed, 21 insertions, 6 deletions
diff --git a/keyboards/ergodox/keymaps/algernon/NEWS.md b/keyboards/ergodox/keymaps/algernon/NEWS.md
index e11998998..ee9d60670 100644
--- a/keyboards/ergodox/keymaps/algernon/NEWS.md
+++ b/keyboards/ergodox/keymaps/algernon/NEWS.md
@@ -1,5 +1,19 @@
1<!-- -*- mode: markdown; fill-column: 8192 -*- --> 1<!-- -*- mode: markdown; fill-column: 8192 -*- -->
2 2
3## v1.10
4
5*2016-12-28*
6
7### Miscellaneous
8
9* `µ` can now be entered with UCIS.
10* `™` can now be entered with UCIS.
11
12### Tools
13
14* `tools/hid-commands` can now find Banshee, and prefers it over Kodi.
15* `tools/hid-commands` can now find Chrome too, not juts Chromium.
16
3## v1.9 17## v1.9
4 18
5*2016-10-16* 19*2016-10-16*
diff --git a/keyboards/ergodox/keymaps/algernon/keymap.c b/keyboards/ergodox/keymaps/algernon/keymap.c
index bad240337..b615f3f5f 100644
--- a/keyboards/ergodox/keymaps/algernon/keymap.c
+++ b/keyboards/ergodox/keymaps/algernon/keymap.c
@@ -96,8 +96,6 @@ enum {
96 96
97uint16_t gui_timer = 0; 97uint16_t gui_timer = 0;
98 98
99uint16_t kf_timers[12];
100
101#if KEYLOGGER_ENABLE 99#if KEYLOGGER_ENABLE
102# ifdef AUTOLOG_ENABLE 100# ifdef AUTOLOG_ENABLE
103bool log_enable = true; 101bool log_enable = true;
@@ -786,7 +784,7 @@ static void ang_tap_dance_tmux_pane_select (qk_tap_dance_state_t *state, void *u
786 if (state->count >= 2) { 784 if (state->count >= 2) {
787 kc = KC_Z; 785 kc = KC_Z;
788 } 786 }
789 787
790 register_code(KC_LALT); 788 register_code(KC_LALT);
791 register_code(KC_SPC); 789 register_code(KC_SPC);
792 unregister_code(KC_SPC); 790 unregister_code(KC_SPC);
@@ -1040,7 +1038,9 @@ const qk_ucis_symbol_t ucis_symbol_table[] = UCIS_TABLE
1040 UCIS_SYM("heart", 0x2764), 1038 UCIS_SYM("heart", 0x2764),
1041 UCIS_SYM("bolt", 0x26a1), 1039 UCIS_SYM("bolt", 0x26a1),
1042 UCIS_SYM("pi", 0x03c0), 1040 UCIS_SYM("pi", 0x03c0),
1043 UCIS_SYM("mouse", 0x1f401) 1041 UCIS_SYM("mouse", 0x1f401),
1042 UCIS_SYM("micro", 0x00b5),
1043 UCIS_SYM("tm", 0x2122)
1044); 1044);
1045 1045
1046bool process_record_user (uint16_t keycode, keyrecord_t *record) { 1046bool process_record_user (uint16_t keycode, keyrecord_t *record) {
diff --git a/keyboards/ergodox/keymaps/algernon/tools/hid-commands b/keyboards/ergodox/keymaps/algernon/tools/hid-commands
index a29d38f41..54ca7556a 100755
--- a/keyboards/ergodox/keymaps/algernon/tools/hid-commands
+++ b/keyboards/ergodox/keymaps/algernon/tools/hid-commands
@@ -16,7 +16,8 @@ _cmd_appsel () {
16} 16}
17 17
18cmd_appsel_music () { 18cmd_appsel_music () {
19 wmctrl -x -a rhythmbox || wmctrl -x -a spotify || wmctrl -x -a kodi || true 19 wmctrl -x -a rhythmbox || wmctrl -x -a spotify || \
20 wmctrl -x -a banshee || wmctrl -x -a kodi || true
20 xdotool key Escape 21 xdotool key Escape
21} 22}
22 23
@@ -33,7 +34,7 @@ cmd_appsel_term () {
33} 34}
34 35
35cmd_appsel_chrome () { 36cmd_appsel_chrome () {
36 _cmd_appsel chromium 37 _cmd_appsel chrom
37} 38}
38 39
39cmd_appsel_start () { 40cmd_appsel_start () {