Apply suggestions from code review

Co-authored-by: jack <jack@pngu.org>
This commit is contained in:
Marek Schmitt 2025-03-02 20:13:55 +01:00 committed by GitHub
parent cd974d00c8
commit 9af623764c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 6 deletions

View File

@ -14,11 +14,8 @@
}, },
"features": { "features": {
"bootmagic": true, "bootmagic": true,
"command": false,
"console": false,
"encoder": true, "encoder": true,
"extrakey": true, "extrakey": true,
"mousekey": false,
"nkro": true, "nkro": true,
"oled": true, "oled": true,
"rgb_matrix": true "rgb_matrix": true

View File

@ -30,8 +30,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* *
*/ */
[0] = LAYOUT( [0] = LAYOUT(
RGB_MOD, RM_NEXT,
KC_P7, KC_P8, KC_P9, RGB_TOG, KC_P7, KC_P8, KC_P9, RM_TOGG,
KC_P4, KC_P5, KC_P6, KC_NUM, KC_P4, KC_P5, KC_P6, KC_NUM,
KC_P1, KC_P2, KC_P3, KC_P0 KC_P1, KC_P2, KC_P3, KC_P0
) )
@ -40,7 +40,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
#ifdef ENCODER_MAP_ENABLE #ifdef ENCODER_MAP_ENABLE
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(RGB_SPD, RGB_SPI)}, [0] = { ENCODER_CCW_CW(RM_SPDD, RM_SPDU)},
}; };
#endif #endif