summaryrefslogtreecommitdiff
path: root/keyboards/mixi/config.h
diff options
context:
space:
mode:
authorGregorio <38576492+ohchiko@users.noreply.github.com>2020-06-18 11:39:16 +0700
committerGitHub <noreply@github.com>2020-06-17 21:39:16 -0700
commit30fd69886dcf069a4e0d2c02ce18803500fcad2e (patch)
tree932c28985b43d8ea7c3a0f8224a8a217feb97dfb /keyboards/mixi/config.h
parented528403fd768e804887b957891b7a16319ae4dc (diff)
[Keyboard] Add Mixi (#9364)
* [Keyboard] Add Mixi Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/mixi/config.h')
-rw-r--r--keyboards/mixi/config.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/keyboards/mixi/config.h b/keyboards/mixi/config.h
new file mode 100644
index 0000000000..cb89dd2cb0
--- /dev/null
+++ b/keyboards/mixi/config.h
@@ -0,0 +1,47 @@
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0x4752
+#define PRODUCT_ID 0x4D49
+#define DEVICE_VER 0x0001
+#define MANUFACTURER gregorio
+#define PRODUCT Mixi
+#define DESCRIPTION Mixi macropad by gregorio
+
+/* key matrix size */
+#define MATRIX_ROWS 3
+#define MATRIX_COLS 3
+
+/* Keyboard Matrix Assignments */
+#define DIRECT_PINS { \
+ { D1, D4, F4 }, \
+ { D0, B4, F5 }, \
+ { C6, F7, B6 } \
+}
+
+#define ENCODERS_PAD_A { F5 }
+#define ENCODERS_PAD_B { F4 }
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
+
+#define RGB_DI_PIN B5
+#ifdef RGB_DI_PIN
+#define RGBLED_NUM 5
+#define RGBLIGHT_HUE_STEP 8
+#define RGBLIGHT_SAT_STEP 8
+#define RGBLIGHT_VAL_STEP 8
+#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
+#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
+#define RGBLIGHT_ANIMATIONS
+#define RGBLIGHT_LAYERS
+#define RGBLIGHT_LAYER_BLINK
+#endif