From 632287535c83e6607de97a5998713def61dc01bc Mon Sep 17 00:00:00 2001 From: zgtm Date: Thu, 16 Aug 2018 00:34:25 +0200 Subject: Keyboard: add generic ortho 5x14 layout support to Viterbi (#3658) * Add default ortho 5x14 layout * Fix layout_ortho_5x14: KC_EQLS -> KC_EQL * Add ortho_5x14 layout to Viterbi --- keyboards/viterbi/rev1/rev1.h | 2 ++ keyboards/viterbi/rev1/rules.mk | 4 +++- keyboards/viterbi/rules.mk | 6 ++++-- keyboards/viterbi/viterbi.h | 2 ++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/keyboards/viterbi/rev1/rev1.h b/keyboards/viterbi/rev1/rev1.h index c47b1c4db..9c03e495a 100644 --- a/keyboards/viterbi/rev1/rev1.h +++ b/keyboards/viterbi/rev1/rev1.h @@ -63,4 +63,6 @@ } #endif +#define LAYOUT_ortho_5x14 LAYOUT + #endif diff --git a/keyboards/viterbi/rev1/rules.mk b/keyboards/viterbi/rev1/rules.mk index f84561674..2bf03237c 100644 --- a/keyboards/viterbi/rev1/rules.mk +++ b/keyboards/viterbi/rev1/rules.mk @@ -1 +1,3 @@ -BACKLIGHT_ENABLE = no \ No newline at end of file +BACKLIGHT_ENABLE = no + +LAYOUTS = ortho_5x14 diff --git a/keyboards/viterbi/rules.mk b/keyboards/viterbi/rules.mk index 1f77c6374..af24c15f5 100644 --- a/keyboards/viterbi/rules.mk +++ b/keyboards/viterbi/rules.mk @@ -41,7 +41,7 @@ F_USB = $(F_CPU) # Bootloader # This definition is optional, and if your keyboard supports multiple bootloaders of -# different sizes, comment this out, and the correct address will be loaded +# different sizes, comment this out, and the correct address will be loaded # automatically (+60). See bootloader.mk for all options. BOOTLOADER = caterina @@ -71,4 +71,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend CUSTOM_MATRIX = yes -DEFAULT_FOLDER = viterbi/rev1 \ No newline at end of file +DEFAULT_FOLDER = viterbi/rev1 + +LAYOUTS = ortho_5x14 diff --git a/keyboards/viterbi/viterbi.h b/keyboards/viterbi/viterbi.h index 9081dc3d5..80d2a8f25 100644 --- a/keyboards/viterbi/viterbi.h +++ b/keyboards/viterbi/viterbi.h @@ -21,6 +21,8 @@ KC_##L40, KC_##L41, KC_##L42, KC_##L43, KC_##L44, KC_##L45, KC_##L46, KC_##R40, KC_##R41, KC_##R42, KC_##R43, KC_##R44, KC_##R45, KC_##R46 \ ) +#define LAYOUT_ortho_5x14 LAYOUT + #include "quantum.h" #endif -- cgit v1.2.3-24-g4f1b