summaryrefslogtreecommitdiff
path: root/keyboards/kudox_game/rev2/rev2.h
diff options
context:
space:
mode:
authorくまお工房 <52371962+kumaokobo@users.noreply.github.com>2020-03-25 05:02:41 +0900
committerGitHub <noreply@github.com>2020-03-24 13:02:41 -0700
commit3587e20e7016792846d351925706da04e9442420 (patch)
treeef0514269cdfdd62cf8358935eb689b66f2ce104 /keyboards/kudox_game/rev2/rev2.h
parent963bba1fc3c1109696ec033e88f39caa3f2ed943 (diff)
[Keyboard] Add kudox game rev2 (#8529)
* Add Kudox Game rev2. * Add the keymap of Kudox Game a layer for regulating RGB. * Modified rgblight_init when RGBLIGHT_ENABLE=no. * Remove invalid codes. * Modified *init* function right intention of framework.
Diffstat (limited to 'keyboards/kudox_game/rev2/rev2.h')
-rw-r--r--keyboards/kudox_game/rev2/rev2.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/kudox_game/rev2/rev2.h b/keyboards/kudox_game/rev2/rev2.h
new file mode 100644
index 0000000000..e630a51658
--- /dev/null
+++ b/keyboards/kudox_game/rev2/rev2.h
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "../kudox_game.h"
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ k00, k01, k02, k03, k04, k05, \
+ k11, k12, k13, k14, k15, \
+ k20, k21, k22, k23, k24, k25, k26, \
+ k30, k31, k34, k35, k36, \
+ k40, k45, k46 \
+) \
+{ \
+ { k00, k01, k02, k03, k04, k05, KC_NO }, \
+ { KC_NO, k11, k12, k13, k14, k15, KC_NO }, \
+ { k20, k21, k22, k23, k24, k25, k26 }, \
+ { k30, k31, KC_NO, KC_NO, k34, k35, k36 }, \
+ { k40, KC_NO, KC_NO, KC_NO, KC_NO, k45, k46 } \
+}