qmk_firmware/keyboards/jnao/jnao.h
Danny 2c8d8be718 [Keyboard] Add JNAO keyboard (#6598)
* Add JNAO keyboard

* Use layout macro for default_4x12

* Add bakingpy keymap

* Add info.json data

* Remove bakingpy keymap from jnao, add ortho_4x12 layout fetching

* Clear up default keymaps
2019-08-24 09:06:27 -07:00

32 lines
1.4 KiB
C

#pragma once
#include "quantum.h"
#define LAYOUT_ortho_5x12( \
k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, k011, k012, \
k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, k111, k112, \
k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, k211, k212, \
k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, k311, k312, \
k41, k42, k43, k44, k45, k46, k47, k48, k49, k410, k411, k412 \
) \
{ \
{ k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, k011, k012 }, \
{ k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, k111, k112 }, \
{ k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, k211, k212 }, \
{ k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, k311, k312 }, \
{ k41, k42, k43, k44, k45, k46, k47, k48, k49, k410, k411, k412 } \
}
#define LAYOUT_ortho_4x12( \
k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, k011, k012, \
k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, k111, k112, \
k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, k211, k212, \
k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, k311, k312 \
) \
{ \
{k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, k011, k012}, \
{k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, k111, k112}, \
{k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, k211, k212}, \
{k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, k311, k312}, \
{KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO} \
}