mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-19 22:22:03 +00:00
Apply suggestions from code review
Co-authored-by: jack <jack@pngu.org>
This commit is contained in:
parent
cd974d00c8
commit
9af623764c
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user