aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/primekb/prime_l/prime_l.h
diff options
context:
space:
mode:
authorholtenc <holtenc@gmail.com>2020-02-19 13:12:11 -0600
committerGitHub <noreply@github.com>2020-02-19 11:12:11 -0800
commit42d6270f28831e95d1cb9c14a7423d5b1d864d67 (patch)
tree9441d287e4a0f28eaeb4581e5c7fe22c23498201 /keyboards/primekb/prime_l/prime_l.h
parent19c91414739191158fa0ecdb29f06a99e49f55dc (diff)
downloadfirmware-42d6270f28831e95d1cb9c14a7423d5b1d864d67.tar.gz
firmware-42d6270f28831e95d1cb9c14a7423d5b1d864d67.tar.bz2
firmware-42d6270f28831e95d1cb9c14a7423d5b1d864d67.zip
Merge /prime_l and /prime_l_v2 (#8194)
* correct indicator light states. function of indicator lights was inverted. these changes correct that. * flesh out keymaps pre production * Enable extrakey in rules * Prime_BLE initial commit * Initial commit for Prime_L V2 * Update info.json correct key spacing. * update copyright * Update readme.md * Inital commit * updates before PR into QMK master * Drop Prime_EXL Plus from PR. Make requested changes to Prime_L V2 * Rename keyboards/primekb/Prime_l_v2/config.h to keyboards/primekb/prime_l_v2/config.h * Rename keyboards/primekb/prime_l_v2/config.h to keyboards/primekb/Prime_l_v2/config.h * remove directory Prime_l_v2 * re-submit with proper folder name. * Restructure /primekb directory to merge /prime_l and /prime_l_v2 * made changes requested by QMK reviewers * Update keyboards/primekb/prime_l/v1/readme.md * Update keyboards/primekb/prime_l/v1/readme.md * Update keyboards/primekb/prime_l/v1/readme.md
Diffstat (limited to 'keyboards/primekb/prime_l/prime_l.h')
-rw-r--r--keyboards/primekb/prime_l/prime_l.h23
1 files changed, 7 insertions, 16 deletions
diff --git a/keyboards/primekb/prime_l/prime_l.h b/keyboards/primekb/prime_l/prime_l.h
index b50898b28..10b587b6a 100644
--- a/keyboards/primekb/prime_l/prime_l.h
+++ b/keyboards/primekb/prime_l/prime_l.h
@@ -1,4 +1,5 @@
/* Copyright 2018 Jumail Mundekkat
+ * Copyright 2020 Holten Campbell
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -13,23 +14,13 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef PRIME_L_H
-#define PRIME_L_H
-#include "quantum.h"
+#pragma once
-#define LAYOUT( \
- K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, \
- K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
- K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215 , \
- K300, K301, K302, K303, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
- K400, K401, K402, K403, K405, K406, K407, K408, K410, K412, K413, K414, K415 \
-) { \
- { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
- { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
- { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, KC_NO, K215 }, \
- { K300, K301, K302, K303, KC_NO, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
- { K400, K401, K402, K403, KC_NO, K405, K406, K407, K408, KC_NO, K410, KC_NO, K412, K413, K414, K415 } \
-}
+#include "quantum.h"
+#if defined(KEYBOARD_primekb_prime_l_v1)
+ #include "v1.h"
+#elif defined(KEYBOARD_primekb_prime_l_v2)
+ #include "v2.h"
#endif