qmk_firmware/keyboards/framework/numpad/numpad.h

24 lines
639 B
C
Raw Permalink Normal View History

// 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
};