aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/prime_exl/prime_exl.h
diff options
context:
space:
mode:
authorGravatar holtenc <holtenc@gmail.com>2018-09-19 18:20:36 -0500
committerGravatar Drashna Jaelre <drashna@live.com>2018-09-19 16:20:36 -0700
commit2bdeccd7baab67df2d0c04c1c8167277f7217d3e (patch)
treec25b2cca1a7da0b85509b3ea95c0b9fe9930178f /keyboards/handwired/prime_exl/prime_exl.h
parent334e2629df4adb44b0ac0dff3363a6daebc072e7 (diff)
downloadqmk_firmware-2bdeccd7baab67df2d0c04c1c8167277f7217d3e.tar.gz
Keyboard: Add Prime_EXL prototype to 'handwired' (#3932)
* initial commit * Update readme.md * Update keymap.c added comment for description of function to control LED as layer indicator * corrected formatting as requested. * format for configurator * corrected info.json to propertly reflect layout in Configurator * updated layouts to reflect physical keyboard
Diffstat (limited to 'keyboards/handwired/prime_exl/prime_exl.h')
-rw-r--r--keyboards/handwired/prime_exl/prime_exl.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/keyboards/handwired/prime_exl/prime_exl.h b/keyboards/handwired/prime_exl/prime_exl.h
new file mode 100644
index 000000000..727db5db8
--- /dev/null
+++ b/keyboards/handwired/prime_exl/prime_exl.h
@@ -0,0 +1,40 @@
+/* Copyright 2018 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
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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_EXL_H
+#define PRIME_EXL_H
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ K040, K050, K041, K051, K042, K052, K043, K053, K044, K054, K045, K055, K046, K056, K047, K057, K048, K058, \
+ K030, K060, K031, K061, K032, K062, K033, K063, K034, K064, K035, K065, K036, K066, K037, K067, K038, K068, \
+ K020, K070, K021, K071, K022, K072, K023, K073, K024, K074, K025, K075, K085, K026, K076, K027, K077, K028, K078, \
+ K010, K080, K011, K081, K012, K082, K013, K083, K014, K084, K015, K016, K086, K017, K087, K018, \
+ K000, K090, K001, K091, K002, K092 \
+) { \
+ { K000, K001, K002, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
+ { K010, K011, K012, K013, K014, K015, K016, K017, K018 }, \
+ { K020, K021, K022, K023, K024, K025, K026, K027, K028 }, \
+ { K030, K031, K032, K033, K034, K035, K036, K037, K038 }, \
+ { K040, K041, K042, K043, K044, K045, K046, K047, K048 }, \
+ { K050, K051, K052, K053, K054, K055, K056, K057, K058 }, \
+ { K060, K061, K062, K063, K064, K065, K066, K067, K068 }, \
+ { K070, K071, K072, K073, K074, K075, K076, K077, K078 }, \
+ { K080, K081, K082, K083, K084, K085, K086, K087, KC_NO }, \
+ { K090, K091, K092, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \
+}
+
+#endif \ No newline at end of file