Browse Source

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
zgtm 6 years ago
parent
commit
632287535c

+ 2 - 0
keyboards/viterbi/rev1/rev1.h

@@ -63,4 +63,6 @@
 	}
 #endif
 
+#define LAYOUT_ortho_5x14 LAYOUT
+
 #endif

+ 3 - 1
keyboards/viterbi/rev1/rules.mk

@@ -1 +1,3 @@
-BACKLIGHT_ENABLE = no
+BACKLIGHT_ENABLE = no
+
+LAYOUTS = ortho_5x14

+ 4 - 2
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
+DEFAULT_FOLDER = viterbi/rev1
+
+LAYOUTS = ortho_5x14

+ 2 - 0
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