qmk_firmware/keyboards/framework/numpad/numpad.h
Daniel Schaefer 0bb3443cb5 fl16: Sync numlock with numlock layers
Otherwise we might get stuck in numlock disabled state and wouldn't be
able to type numbers anymore or get out of the mode.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-13 23:36:29 +08:00

24 lines
639 B
C

// Copyright 2022-2023 Framework Computer
// SPDX-License-Identifier: GPL-2.0-or-later
// Same as macropad with a few keys removed
#define LAYOUT( \
H1, H2, H3, H4, \
K90, K95, K100, K105, \
K91, K96, K101, \
K92, K97, K102, K106, \
K93, K98, K103, \
K99, K104, K108 \
) \
{ \
{ K90, K91, K92, K93, K95, K96, K97, K98 }, \
{ K99, K100, K101, K102, K103, K104, K105, K106 }, \
{ K108, H1, H2, KC_NO, H4, KC_NO, KC_NO, KC_NO }, \
{ KC_NO, KC_NO, KC_NO, KC_NO, H3, KC_NO, KC_NO, KC_NO }, \
}
enum _layers {
_NUMLOCK,
_FN
};