keychron_qmk_firmware/keyboards/the_royal/schwann/schwann.h
Garret G c7449b3840
[Keyboard] Add royal directory and add 2 keyboard releases (#8877)
* add royal project folder and 2 released keyboards

* fix iso keymap clarification

* Apply suggestions from code review

* Update keyboards/the_royal/schwann/schwann.h

* Update keyboards/the_royal/liminal/liminal.h

* Update keyboards/the_royal/schwann/keymaps/default/keymap.c

* Apply suggestions from code review

new

* Update keymap.c

* Update keymap.c

* Apply suggestions from code review

* Update rules.mk

* add rules.mk to schwann default

* Apply suggestions from code review

* add rules.mk to shwann default
2020-04-27 14:35:03 -07:00

45 lines
1.7 KiB
C

#pragma once
#include "quantum.h"
#define XXX KC_NO
#define LAYOUT_mit( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \
k31, k32, k33, k34, k36, k37, k38, k39, k3A \
) \
{ \
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B}, \
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B}, \
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B}, \
{XXX, k31, k32, k33, k34, XXX, k36, k37, k38, k39, k3A, XXX} \
}
#define LAYOUT_full_ortho( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \
k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A \
) \
{ \
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B}, \
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B}, \
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B}, \
{XXX, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, XXX} \
}
#define LAYOUT_big_boy( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \
k31, k36, k3A \
) \
{ \
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B}, \
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B}, \
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B}, \
{XXX, k31, XXX, XXX, XXX, XXX, k36, XXX, XXX, XXX, k3A, XXX} \
}