summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzgtm <zgtm@users.noreply.github.com>2018-08-16 00:34:25 +0200
committerDrashna Jaelre <drashna@live.com>2018-08-15 15:34:25 -0700
commit632287535c83e6607de97a5998713def61dc01bc (patch)
treead6964d1bcbd94e4fed76b163a11b6a221f1b349
parent789619eeb987d4ea903676f2e8c978d6774cd7d8 (diff)
downloadqmk_firmware-632287535c83e6607de97a5998713def61dc01bc.tar.gz
qmk_firmware-632287535c83e6607de97a5998713def61dc01bc.zip
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
-rw-r--r--keyboards/viterbi/rev1/rev1.h2
-rw-r--r--keyboards/viterbi/rev1/rules.mk4
-rw-r--r--keyboards/viterbi/rules.mk6
-rw-r--r--keyboards/viterbi/viterbi.h2
4 files changed, 11 insertions, 3 deletions
diff --git a/keyboards/viterbi/rev1/rev1.h b/keyboards/viterbi/rev1/rev1.h
index c47b1c4dbb..9c03e495a9 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 f845616741..2bf03237c0 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 1f77c63741..af24c15f53 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 9081dc3d5a..80d2a8f25a 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