mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-14 07:55:28 +00:00
d2ff66a985
* include variables and .h files as pp directives * start layout compilation * split ergodoxes up * don't compile all layouts for everything * might seg fault * reset layouts variable * actually reset layouts * include rules.mk instead * remove includes from rules.mk * update variable setting * load visualizer from path * adds some more examples * adds more layouts * more boards added * more boards added * adds documentation for layouts * use lowercase names for LAYOUT_ * add layout.json files for each layout * add community folder, default keymaps for layouts * touch-up default layouts * touch-up layouts, some keyboard rules.mk * update documentation for layouts * fix up serial/i2c switches
35 lines
721 B
C
35 lines
721 B
C
#ifndef ROADKIT_H
|
|
#define ROADKIT_H
|
|
|
|
#include "quantum.h"
|
|
|
|
// This is a shortcut to help you visually see your layout.
|
|
#define KEYMAP( \
|
|
K00, K01, K02, K03, \
|
|
K10, K11, K12, \
|
|
K20, K21, K22, K23, \
|
|
K30, K32 \
|
|
) \
|
|
{ \
|
|
{ K00, K01, K02, K03 }, \
|
|
{ K10, K11, K12, KC_NO }, \
|
|
{ K20, K21, K22, K23 }, \
|
|
{ K30, KC_NO, K32, KC_NO } \
|
|
}
|
|
|
|
#define SINGLES_KEYMAP( \
|
|
K00, K01, K02, K03, \
|
|
K10, K11, K12, K13, \
|
|
K20, K21, K22, K23, \
|
|
K30, K31, K32, K33 \
|
|
) \
|
|
{ \
|
|
{ K00, K01, K02, K03 }, \
|
|
{ K10, K11, K12, K13 }, \
|
|
{ K20, K21, K22, K23 }, \
|
|
{ K30, K31, K32, K33 } \
|
|
}
|
|
|
|
#define LAYOUT_ortho_4x4 SINGLES_KEYMAP
|
|
|
|
#endif
|