summaryrefslogtreecommitdiff
path: root/keyboards/getta25/rev1/rev1.h
diff options
context:
space:
mode:
authorSalicylic-acid3 <46864619+Salicylic-acid3@users.noreply.github.com>2020-01-21 07:40:33 +0900
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-01-20 14:40:33 -0800
commitc23b73530f6683b52775ad6415fa201597f15f4f (patch)
tree9bc716673309d12277e4f748cc74af8949dbd3eb /keyboards/getta25/rev1/rev1.h
parent61dbb9267936f5b3dc6a4c804dc773ab79d9c309 (diff)
[Keyboard] Add keyboard Getta25 (#7497)
* [Keyboard] Add keyboard Getta25 Add Getta25 keyboard. A 25 keys Tenkey. Salicylic-acid3 * Update keyboards/getta25/info.json * Update keyboards/getta25/readme.md * Update keyboards/getta25/readme.md * Update keyboards/getta25/readme.md * Update keyboards/getta25/info.json * Update keyboards/getta25/info.json * Update keyboards/getta25/info.json * Update keyboards/getta25/info.json * Update keyboards/getta25/keymaps/oled/glcdfont.c * Update keyboards/getta25/keymaps/oled/glcdfont.c * Keymap Update Remove unnecessary code blocks * Update keyboards/getta25/keymaps/oled/keymap.c * Update keyboards/getta25/keymaps/oled/keymap.c * Update keyboards/getta25/keymaps/oled/keymap.c
Diffstat (limited to 'keyboards/getta25/rev1/rev1.h')
-rw-r--r--keyboards/getta25/rev1/rev1.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/keyboards/getta25/rev1/rev1.h b/keyboards/getta25/rev1/rev1.h
new file mode 100644
index 0000000000..98f4318a6a
--- /dev/null
+++ b/keyboards/getta25/rev1/rev1.h
@@ -0,0 +1,35 @@
+#pragma once
+
+#include "getta25.h"
+
+/*
+ * ,-----------------------.
+ * | L05 | L15 | L25 | L35 |
+ * |-----------------------+
+ * | L04 | L14 | L24 | L34 |
+ * |-----------------------------+
+ * | L03 | L13 | L23 | | L43 |
+ * |-----------------------------+
+ * | L02 | L12 | L22 | L32 | L42 |
+ * |-----------------------------+
+ * | L01 | L11 | L21 | | L41 |
+ * |-----------------------------+
+ * | L00 | | L20 | L30 | L40 |
+ * ,-----------------------------'
+ */
+
+#define LAYOUT( \
+ L05, L15, L25, L35, \
+ L04, L14, L24, L34, \
+ L03, L13, L23, L43, \
+ L02, L12, L22, L32, L42, \
+ L01, L11, L21, L41, \
+ L00, L20, L30, L40 \
+ ) \
+ { \
+ { L00, L01, L02, L03, L04, L05 }, \
+ {KC_NO, L11, L12, L13, L14, L15 }, \
+ { L20, L21, L22, L23, L24, L25 }, \
+ { L30,KC_NO, L32,KC_NO, L34, L35 }, \
+ { L40, L41, L42, L43,KC_NO,KC_NO } \
+ }