diff options
author | Sergi Meseguer <zigotica@gmail.com> | 2021-12-27 11:24:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-27 21:24:14 +1100 |
commit | 07465c0ebbabf35079fed70a58e73da1e9419444 (patch) | |
tree | e208711b0d007f4f2f96777100188783176ea6ad /keyboards/z12/keymaps/zigotica/encoder.c | |
parent | 6ec9cd511df29a0bf788818e3cecf636d836af3c (diff) |
zigotica userspace add raw_hid_receive (#14869)
* zigotica userspace add raw_hid_receive
* add 3 keys to figma keymap
* add 2 keys to vim keymap
* improve vim keys
* add 3 keys to browser keymap
* comment typo
* shorten SEND_STRING
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/z12/keymaps/zigotica/encoder.c')
-rw-r--r-- | keyboards/z12/keymaps/zigotica/encoder.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/keyboards/z12/keymaps/zigotica/encoder.c b/keyboards/z12/keymaps/zigotica/encoder.c index 49a3d859b6..f55b9b5ae9 100644 --- a/keyboards/z12/keymaps/zigotica/encoder.c +++ b/keyboards/z12/keymaps/zigotica/encoder.c @@ -48,12 +48,8 @@ bool encoder_update_user(uint8_t index, bool clockwise) { // Cycle through Tabs if (clockwise) { tap_code16(C(KC_TAB)); - /* register_code16(G(KC_RCBR)); */ - /* unregister_code16(G(KC_RCBR)); */ } else { tap_code16(S(C(KC_TAB))); - /* register_code16(G(KC_LCBR)); */ - /* unregister_code16(G(KC_LCBR)); */ } } else { // RIGHT // Scroll up/down @@ -68,11 +64,11 @@ bool encoder_update_user(uint8_t index, bool clockwise) { break; case _FIGMA: if (index == 0) { // LEFT - // Volume control. + // Cycle through Tabs if (clockwise) { - tap_code(KC_VOLU); + tap_code16(C(KC_TAB)); } else { - tap_code(KC_VOLD); + tap_code16(S(C(KC_TAB))); } } else { // RIGHT // Zoom in/out @@ -89,7 +85,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) { } } break; - case _TERMINAL: + case _BASE: default: if (index == 0) { // LEFT // Volume control. |