From f19e9311b4d1e840c200622611d95d8a080a456b Mon Sep 17 00:00:00 2001 From: keyaki-namiki <28521374+keyaki-namiki@users.noreply.github.com> Date: Thu, 20 Aug 2020 12:40:17 +0900 Subject: [PATCH] comment updated in function `encoder_update_user` --- keyboards/yushakobo/helix_type_r/keymaps/default/keymap.c | 4 ++-- keyboards/yushakobo/helix_type_r/keymaps/default4/keymap.c | 4 ++-- keyboards/yushakobo/helix_type_r/keymaps/via/keymap.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/keyboards/yushakobo/helix_type_r/keymaps/default/keymap.c b/keyboards/yushakobo/helix_type_r/keymaps/default/keymap.c index 2dd1432e8c2..9643e44dbbe 100644 --- a/keyboards/yushakobo/helix_type_r/keymaps/default/keymap.c +++ b/keyboards/yushakobo/helix_type_r/keymaps/default/keymap.c @@ -128,13 +128,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { static bool mode_windows = false; void encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { /* Master side encoder */ + if (index == 0) { /* Left side encoder */ if (clockwise) { tap_code(KC_PGDN); } else { tap_code(KC_PGUP); } - } else if (index == 1) { /* Slave side encoder */ + } else if (index == 1) { /* Right side encoder */ if (clockwise) { tap_code(KC_DOWN); } else { diff --git a/keyboards/yushakobo/helix_type_r/keymaps/default4/keymap.c b/keyboards/yushakobo/helix_type_r/keymaps/default4/keymap.c index 72ad12c558a..6907f695b41 100644 --- a/keyboards/yushakobo/helix_type_r/keymaps/default4/keymap.c +++ b/keyboards/yushakobo/helix_type_r/keymaps/default4/keymap.c @@ -118,13 +118,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { static bool mode_windows = false; void encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { /* Master side encoder */ + if (index == 0) { /* Left side encoder */ if (clockwise) { tap_code(KC_PGDN); } else { tap_code(KC_PGUP); } - } else if (index == 1) { /* Slave side encoder */ + } else if (index == 1) { /* Right side encoder */ if (clockwise) { tap_code(KC_DOWN); } else { diff --git a/keyboards/yushakobo/helix_type_r/keymaps/via/keymap.c b/keyboards/yushakobo/helix_type_r/keymaps/via/keymap.c index 14d7b4a88f6..e6917c23270 100644 --- a/keyboards/yushakobo/helix_type_r/keymaps/via/keymap.c +++ b/keyboards/yushakobo/helix_type_r/keymaps/via/keymap.c @@ -128,13 +128,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { static bool mode_windows = false; void encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { /* Master side encoder */ + if (index == 0) { /* Left side encoder */ if (clockwise) { tap_code(KC_PGDN); } else { tap_code(KC_PGUP); } - } else if (index == 1) { /* Slave side encoder */ + } else if (index == 1) { /* Right side encoder */ if (clockwise) { tap_code(KC_DOWN); } else {