diff options
| author | Ryan <fauxpark@gmail.com> | 2025-07-12 03:05:41 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-11 11:05:41 -0600 |
| commit | 6b38dc17cd12b740b45b56c67ad04bb428f3bddb (patch) | |
| tree | a5e39f81fc4fec4eeeff027c059051e7f82a28de /keyboards/bastardkb | |
| parent | 71b88b333d0bf000201ef588101e501f2d386575 (diff) | |
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
Diffstat (limited to 'keyboards/bastardkb')
| -rw-r--r-- | keyboards/bastardkb/dilemma/3x5_3/3x5_3.c | 2 | ||||
| -rw-r--r-- | keyboards/bastardkb/dilemma/4x6_4/4x6_4.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/bastardkb/dilemma/3x5_3/3x5_3.c b/keyboards/bastardkb/dilemma/3x5_3/3x5_3.c index a186139835..444e479d1a 100644 --- a/keyboards/bastardkb/dilemma/3x5_3/3x5_3.c +++ b/keyboards/bastardkb/dilemma/3x5_3/3x5_3.c | |||
| @@ -27,7 +27,7 @@ bool encoder_update_kb(uint8_t index, bool clockwise) { | |||
| 27 | } | 27 | } |
| 28 | switch (index) { | 28 | switch (index) { |
| 29 | case 0: // Left-half encoder, mouse scroll. | 29 | case 0: // Left-half encoder, mouse scroll. |
| 30 | tap_code(clockwise ? KC_MS_WH_UP : KC_MS_WH_DOWN); | 30 | tap_code(clockwise ? MS_WHLU : MS_WHLD); |
| 31 | break; | 31 | break; |
| 32 | case 1: // Right-half encoder, volume control. | 32 | case 1: // Right-half encoder, volume control. |
| 33 | tap_code(clockwise ? KC_AUDIO_VOL_UP : KC_AUDIO_VOL_DOWN); | 33 | tap_code(clockwise ? KC_AUDIO_VOL_UP : KC_AUDIO_VOL_DOWN); |
diff --git a/keyboards/bastardkb/dilemma/4x6_4/4x6_4.c b/keyboards/bastardkb/dilemma/4x6_4/4x6_4.c index 49b24fbd04..3545e60503 100644 --- a/keyboards/bastardkb/dilemma/4x6_4/4x6_4.c +++ b/keyboards/bastardkb/dilemma/4x6_4/4x6_4.c | |||
| @@ -48,7 +48,7 @@ bool encoder_update_kb(uint8_t index, bool clockwise) { | |||
| 48 | } | 48 | } |
| 49 | switch (index) { | 49 | switch (index) { |
| 50 | case 0: // Left-half encoder, mouse scroll. | 50 | case 0: // Left-half encoder, mouse scroll. |
| 51 | tap_code(clockwise ? KC_MS_WH_DOWN : KC_MS_WH_UP); | 51 | tap_code(clockwise ? MS_WHLD : MS_WHLU); |
| 52 | break; | 52 | break; |
| 53 | case 1: // Right-half encoder, volume control. | 53 | case 1: // Right-half encoder, volume control. |
| 54 | tap_code(clockwise ? KC_AUDIO_VOL_UP : KC_AUDIO_VOL_DOWN); | 54 | tap_code(clockwise ? KC_AUDIO_VOL_UP : KC_AUDIO_VOL_DOWN); |
