mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-14 12:34:39 +00:00
[Keyboard] Fix bug in Moonlander functions (#15407)
This commit is contained in:
parent
c54c0fdc2c
commit
6d0a629204
1 changed files with 3 additions and 1 deletions
|
@ -400,6 +400,7 @@ const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT_moonlander(
|
||||||
|
|
||||||
#ifdef ORYX_CONFIGURATOR
|
#ifdef ORYX_CONFIGURATOR
|
||||||
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
if (!process_record_user(keycode, record)) { return false; }
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
#ifdef WEBUSB_ENABLE
|
#ifdef WEBUSB_ENABLE
|
||||||
case WEBUSB_PAIR:
|
case WEBUSB_PAIR:
|
||||||
|
@ -450,7 +451,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
return process_record_user(keycode, record);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -470,6 +471,7 @@ void matrix_init_kb(void) {
|
||||||
rgb_matrix_set_flags(LED_FLAG_NONE);
|
rgb_matrix_set_flags(LED_FLAG_NONE);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
matrix_init_user();
|
||||||
}
|
}
|
||||||
|
|
||||||
void eeconfig_init_kb(void) { // EEPROM is getting reset!
|
void eeconfig_init_kb(void) { // EEPROM is getting reset!
|
||||||
|
|
Loading…
Reference in a new issue