summaryrefslogtreecommitdiffstats
path: root/keyboards/kudox/rev1/rev1.h
diff options
context:
space:
mode:
authorx1 <viva008@gmail.com>2019-08-07 02:14:40 +0900
committerDrashna Jaelre <drashna@live.com>2019-08-06 10:14:40 -0700
commit9587fac72a749e07bcdede40f8059df77a04a3e4 (patch)
tree1a9c4df581f33464e241366d92b1df897bc5927a /keyboards/kudox/rev1/rev1.h
parente5831d79c044f394243cfdfe604b91837067b7d6 (diff)
[Keyboard] Add kudox keyboard (#6459)
* Add Kudox Keyboard profile. * Modified info.json and image link on readme. * Remove unnecessary codes. * Set BootLoader caterina. * Remove duplicated settings on rules.mk. * Clean up config.h. * Modified include header path. * Modified info.json to adjust 4th row keys y position. * Separate default keymap and my keymap. * Modified RGB_LED_* settings on kudox/rev1/config.h.
Diffstat (limited to 'keyboards/kudox/rev1/rev1.h')
-rw-r--r--keyboards/kudox/rev1/rev1.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/kudox/rev1/rev1.h b/keyboards/kudox/rev1/rev1.h
new file mode 100644
index 0000000000..7a97cce699
--- /dev/null
+++ b/keyboards/kudox/rev1/rev1.h
@@ -0,0 +1,24 @@
+#pragma once
+
+#include "kudox.h"
+#include "quantum.h"
+
+#define LAYOUT( \
+ L00, L01, L02, L03, L04, L05, R05, R04, R03, R02, R01, R00, \
+ L10, L11, L12, L13, L14, L15, L16, R16, R15, R14, R13, R12, R11, R10, \
+ L20, L21, L22, L23, L24, L25, R25, R24, R23, R22, R21, R20, \
+ L30, L31, L32, L33, L34, L35, R35, R34, R33, R32, R31, R30, \
+ L40, L41, L42, L43, L44, L45, L46, R46, R45, R44, R43, R42, R41, R40 \
+) \
+{ \
+ { L00, L01, L02, L03, L04, L05 }, \
+ { L10, L11, L12, L13, L14, L15, L16 }, \
+ { L20, L21, L22, L23, L24, L25 }, \
+ { L30, L31, L32, L33, L34, L35 }, \
+ { L40, L41, L42, L43, L44, L45, L46 }, \
+ { R00, R01, R02, R03, R04, R05 }, \
+ { R10, R11, R12, R13, R14, R15, R16 }, \
+ { R20, R21, R22, R23, R24, R25 }, \
+ { R30, R31, R32, R33, R34, R35 }, \
+ { R40, R41, R42, R43, R44, R45, R46 } \
+}