forked from forks/qmk_firmware
2fb14845d5
* handwired/gamenum: refactor - layout macro KEYMAP renamed to LAYOUT - white space changes for alignment - default keymap - now uses #include QMK_KEYBOARD_H - updated layout macro names - white space changes (for readability) * handwired/gamenum: Configurator support * handwired/gamenum: readme cleanup - renamed file to lowercase - updated to match current QMK template more closely - edits to reflect the other changes in this PR
22 lines
365 B
C
22 lines
365 B
C
#ifndef GAMENUM_H
|
|
#define GAMENUM_H
|
|
|
|
#include "quantum.h"
|
|
|
|
#define LAYOUT( \
|
|
k00, k01, k02, k03, \
|
|
k10, k11, k12, k13, \
|
|
k20, k21, k22, \
|
|
k30, k31, k32, \
|
|
k41, k42, k43 \
|
|
) \
|
|
{ \
|
|
{ k00, k01, k02, k03 }, \
|
|
{ k10, k11, k12, k13 }, \
|
|
{ k20, k21, k22, KC_NO }, \
|
|
{ k30, k31, k32, KC_NO }, \
|
|
{ KC_NO, k41, k42, k43 } \
|
|
}
|
|
|
|
#endif
|