Remove legacy keycodes, part 4 (#18683)
* `KC_PGDOWN` -> `KC_PGDN` * `KC_PSCREEN` -> `KC_PSCR` * `KC_SCOLON` -> `KC_SCLN` * `KC_BSLASH` -> `KC_BSLS` * `KC_BSPACE` -> `KC_BSPC`
This commit is contained in:
@@ -383,7 +383,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
}
|
||||
} else if (index == 1) {
|
||||
if (clockwise) {
|
||||
tap_code(KC_PGDOWN);
|
||||
tap_code(KC_PGDN);
|
||||
} else {
|
||||
tap_code(KC_PGUP);
|
||||
}
|
||||
|
@@ -545,7 +545,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
case _QWERTY:
|
||||
case _COLEMAKDH:
|
||||
if (clockwise) {
|
||||
tap_code(KC_PGDOWN);
|
||||
tap_code(KC_PGDN);
|
||||
} else {
|
||||
tap_code(KC_PGUP);
|
||||
}
|
||||
|
@@ -185,7 +185,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
}
|
||||
} else if (index == 1) {
|
||||
if (clockwise) {
|
||||
tap_code(KC_PGDOWN);
|
||||
tap_code(KC_PGDN);
|
||||
} else {
|
||||
tap_code(KC_PGUP);
|
||||
}
|
||||
|
@@ -26,7 +26,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
}
|
||||
} else if (index == 1) {
|
||||
if (clockwise) {
|
||||
tap_code(KC_PGDOWN);
|
||||
tap_code(KC_PGDN);
|
||||
} else {
|
||||
tap_code(KC_PGUP);
|
||||
}
|
||||
|
@@ -385,7 +385,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
tap_code(KC_PGUP);
|
||||
// tap_code(KC_MS_WH_UP);
|
||||
} else {
|
||||
tap_code(KC_PGDOWN);
|
||||
tap_code(KC_PGDN);
|
||||
// tap_code(KC_MS_WH_DOWN);
|
||||
}
|
||||
} else if (index == 0) { /* Second encoder */
|
||||
|
@@ -545,7 +545,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
case _QWERTY:
|
||||
case _COLEMAKDH:
|
||||
if (clockwise) {
|
||||
tap_code(KC_PGDOWN);
|
||||
tap_code(KC_PGDN);
|
||||
} else {
|
||||
tap_code(KC_PGUP);
|
||||
}
|
||||
|
@@ -28,7 +28,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
}
|
||||
} else if (index == 1) {
|
||||
if (clockwise) {
|
||||
tap_code(KC_PGDOWN);
|
||||
tap_code(KC_PGDN);
|
||||
} else {
|
||||
tap_code(KC_PGUP);
|
||||
}
|
||||
|
Reference in New Issue
Block a user