forked from mirror/qmk_firmware
Get rid of USB_LED_NUM_LOCK (#21424)
This commit is contained in:
@@ -262,14 +262,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
void matrix_init_user(void) {
|
||||
// eeconfig_init(); // reset keyboard to a standard default state; useful when new releases messup with eeprom values
|
||||
// set num lock on at start (for numonly layer to work)
|
||||
if (!(host_keyboard_leds() & (1<<USB_LED_NUM_LOCK))) {
|
||||
if (!host_keyboard_led_state().num_lock) {
|
||||
SEND_STRING(SS_TAP(X_NUM_LOCK)); //register_code(KC_NUM_LOCK); unregister_code(KC_NUM_LOCK);
|
||||
}
|
||||
}
|
||||
|
||||
void matrix_scan_user(void) {
|
||||
}
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case CK_TRIPLEZERO:
|
||||
|
||||
Reference in New Issue
Block a user