summaryrefslogtreecommitdiff
path: root/keyboards/naked64/rev1/rev1.h
diff options
context:
space:
mode:
authorSalicylic-acid3 <46864619+Salicylic-acid3@users.noreply.github.com>2019-10-27 10:10:50 +0900
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-10-26 18:10:50 -0700
commit85688f926a19f27e47d9136c1612fbd2f751372e (patch)
tree0c558188aafefab27b0195f9767ad714703313f0 /keyboards/naked64/rev1/rev1.h
parent40de65eac4e8d039470b91a678cd1f7fc83fc929 (diff)
[Keyboard] Add keyboard Naked64 (#7144)
* [Keyboard] Add keyboard Naked64 Add Naekd64 keyboard. A 64 keys Ortholinear + Alice Layout keyboard. Salicylic-acid3 * Update keyboards/naked64/readme.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/readme.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/rev1/rev1.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/rev1/rev1.h Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/keymaps/default_with_setta21/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/keymaps/default/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/naked64/keymaps/default/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/naked64/keymaps/default_with_setta21/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/naked64/keymaps/default/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/naked64/keymaps/default_with_setta21/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/naked64/keymaps/salicylic/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/naked64/keymaps/salicylic/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/naked64/keymaps/default_with_setta21/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/naked64/rev1/rev1.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/naked64/keymaps/salicylic/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/naked64/keymaps/default_with_setta21/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/keymaps/default_with_setta21/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/keymaps/default_with_setta21/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/keymaps/default_with_setta21/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Modify info.json and rule.mk rule.mk modifies comments. info.json is changed to Layout without angle. * Update info.json Puts the keys in the correct sequence.
Diffstat (limited to 'keyboards/naked64/rev1/rev1.h')
-rw-r--r--keyboards/naked64/rev1/rev1.h78
1 files changed, 78 insertions, 0 deletions
diff --git a/keyboards/naked64/rev1/rev1.h b/keyboards/naked64/rev1/rev1.h
new file mode 100644
index 0000000000..a0f83749d1
--- /dev/null
+++ b/keyboards/naked64/rev1/rev1.h
@@ -0,0 +1,78 @@
+#pragma once
+
+#include "naked64.h"
+
+
+//////////////////////////////////////////////////////////////////////////////
+// When only use Naked64.
+//////////////////////////////////////////////////////////////////////////////
+/*
+ * ,------------------------------------------ -----------------------------------------.
+ * | L00 | L20 | L70 | L31 | L02 | L52 | L13 | | L63 | L34 | L05 | L45 | L16 | L66 | L37 |
+ * |------------------------------------------ ------------------------------------------+
+ * | L10 | L30 | L01 | L41 | L12 | L62 | L23 | | L73 | L44 | L15 | L55 | L26 | L76 | L47 |
+ * |------------------------------------------ ------------------------------------------+
+ * | L40 | L11 | L51 | L22 | L72 | L33 | | L04 | L54 | L25 | L65 | L36 | L07 | L57 |
+ * |------------------------------------ ------------------------------------------+
+ * | L50 | L21 | L61 | L32 | L03 | L43 | | L14 | L64 | L35 | L75 | L46 | L17 | L67 |
+ * |------------------------------------ ------------------------------------------+
+ * | L60 | | L71 | L42 | | L53 | | L24 | L74 | | L06 | L56 | L27 | L77 |
+ * |------------------------------------ ------------------------------------------'
+ */
+
+#define LAYOUT( \
+ L00, L20, L70, L31, L02, L52, L13, L63, L34, L05, L45, L16, L66, L37, \
+ L10, L30, L01, L41, L12, L62, L23, L73, L44, L15, L55, L26, L76, L47, \
+ L40, L11, L51, L22, L72, L33, L04, L54, L25, L65, L36, L07, L57, \
+ L50, L21, L61, L32, L03, L43, L14, L64, L35, L75, L46, L17, L67, \
+ L60, L71, L42, L53, L24, L74, L06, L56, L27, L77 \
+ ) \
+ { \
+ { L00, L01, L02, L03, L04, L05, L06, L07 }, \
+ { L10, L11, L12, L13, L14, L15, L16, L17 }, \
+ { L20, L21, L22, L23, L24, L25, L26, L27 }, \
+ { L30, L31, L32, L33, L34, L35, L36, L37 }, \
+ { L40, L41, L42, L43, L44, L45, L46, L47 }, \
+ { L50, L51, L52, L53, L54, L55, L56, L57 }, \
+ { L60, L61, L62, L63, L64, L65, L66, L67 }, \
+ { L70, L71, L72, L73, L74, L75, L76, L77 }, \
+ {KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO }, \
+ {KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO }, \
+ {KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO }, \
+ {KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO }, \
+ {KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO }, \
+ {KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO }, \
+ {KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO }, \
+ {KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO } \
+ }
+
+//////////////////////////////////////////////////////////////////////////////
+// When connecting Setta21 to Naked64.
+//////////////////////////////////////////////////////////////////////////////
+
+#define LAYOUT_with_setta21( \
+ L00, L20, L70, L31, L02, L52, L13, L63, L34, L05, L45, L16, L66, L37, R00, R01, R02, R03, R04, R05, \
+ L10, L30, L01, L41, L12, L62, L23, L73, L44, L15, L55, L26, L76, L47, R11, R12, R13, R14, R15, \
+ L40, L11, L51, L22, L72, L33, L04, L54, L25, L65, L36, L07, L57, R20, R21, R22, R23, R24, R25, \
+ L50, L21, L61, L32, L03, L43, L14, L64, L35, L75, L46, L17, L67, R30, R32, R34, R35, \
+ L60, L71, L42, L53, L24, L74, L06, L56, L27, L77 \
+ ) \
+ { \
+ { L00, L01, L02, L03, L04, L05, L06, L07 }, \
+ { L10, L11, L12, L13, L14, L15, L16, L17 }, \
+ { L20, L21, L22, L23, L24, L25, L26, L27 }, \
+ { L30, L31, L32, L33, L34, L35, L36, L37 }, \
+ { L40, L41, L42, L43, L44, L45, L46, L47 }, \
+ { L50, L51, L52, L53, L54, L55, L56, L57 }, \
+ { L60, L61, L62, L63, L64, L65, L66, L67 }, \
+ { L70, L71, L72, L73, L74, L75, L76, L77 }, \
+ { R00, R01, R02, R03, R04, R05,KC_NO,KC_NO }, \
+ {KC_NO, R11, R12, R13, R14, R15,KC_NO,KC_NO }, \
+ { R20, R21, R22, R23, R24, R25,KC_NO,KC_NO }, \
+ { R30,KC_NO, R32,KC_NO, R34, R35,KC_NO,KC_NO }, \
+ {KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO }, \
+ {KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO }, \
+ {KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO }, \
+ {KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO,KC_NO } \
+ }
+