Remove deprecated RGB_ and Mouse keycodes (#25444)

* Remove deprecated `RGB_` and Mouse keycodes

* Update old mouse keycodes, 0-9/A-M

* Update old mouse keycodes, N-Z & layouts

* Missed some stuff
This commit is contained in:
Ryan 2025-07-12 03:05:41 +10:00 committed by GitHub
parent 71b88b333d
commit 6b38dc17cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
325 changed files with 911 additions and 964 deletions

View file

@ -63,9 +63,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) { /* left encoder */
if (clockwise) {
tap_code(KC_WH_U);
tap_code(MS_WHLU);
} else {
tap_code(KC_WH_D);
tap_code(MS_WHLD);
}
} else if (index == 1) { /* right encoder */
if (clockwise) {

View file

@ -85,9 +85,9 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
default:
if (clockwise){
tap_code(KC_WH_U);
tap_code(MS_WHLU);
} else{
tap_code(KC_WH_D);
tap_code(MS_WHLD);
}
break;
}

View file

@ -87,9 +87,9 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
default:
if (clockwise){
tap_code(KC_WH_U);
tap_code(MS_WHLU);
} else{
tap_code(KC_WH_D);
tap_code(MS_WHLD);
}
break;
}

View file

@ -20,9 +20,9 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
if (!encoder_update_user(index, clockwise)) { return false; }
if (index == 1) { /* left encoder*/
if (clockwise){
tap_code(KC_WH_U);
tap_code(MS_WHLU);
} else {
tap_code(KC_WH_D);
tap_code(MS_WHLD);
}
} else if (index == 0) { /* right encoder */
if (clockwise){

View file

@ -78,9 +78,9 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
}
} else if (index == 1) { /* center encoder */
if (clockwise) {
tap_code(KC_WH_U);
tap_code(MS_WHLU);
} else {
tap_code(KC_WH_D);
tap_code(MS_WHLD);
}
}
return true;

View file

@ -78,9 +78,9 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
}
} else if (index == 1) { /* center encoder */
if (clockwise) {
tap_code(KC_WH_D);
tap_code(MS_WHLD);
} else {
tap_code(KC_WH_U);
tap_code(MS_WHLU);
}
}
return true;

View file

@ -78,9 +78,9 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
}
} else if (index == 1) { /* center encoder */
if (clockwise) {
tap_code(KC_WH_U);
tap_code(MS_WHLU);
} else {
tap_code(KC_WH_D);
tap_code(MS_WHLD);
}
}
return true;