summaryrefslogtreecommitdiffstats
path: root/keyboards/coarse/ixora/config.h
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-08-06 08:14:43 +1000
committerGitHub <noreply@github.com>2021-08-06 08:14:43 +1000
commit6aaf3e84e9ba2863d72cf539fdf1bb15ae484a25 (patch)
treea18d5098db27a582619a84b940f478fef018b6a2 /keyboards/coarse/ixora/config.h
parentbcb6e23387290afb64712314bfb095f8d96c1a4e (diff)
Rework as per 9824 (#13898)
Diffstat (limited to 'keyboards/coarse/ixora/config.h')
-rw-r--r--keyboards/coarse/ixora/config.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/coarse/ixora/config.h b/keyboards/coarse/ixora/config.h
new file mode 100644
index 0000000000..ec7dfa705b
--- /dev/null
+++ b/keyboards/coarse/ixora/config.h
@@ -0,0 +1,27 @@
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x0C61
+#define DEVICE_VER 0x00C6
+#define MANUFACTURER PeiorisBoards
+#define PRODUCT Ixora Rev1
+
+/* key matrix size */
+#define MATRIX_ROWS 1
+#define MATRIX_COLS 6
+
+#define MATRIX_ROW_PINS { A0 }
+#define MATRIX_COL_PINS { B4, A15, B3, A1, B6, B5 }
+
+/* COL2ROW, ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCE 0
+
+#define LED_NUM_LOCK_PIN A9
+#define LED_CAPS_LOCK_PIN A10
+#define LED_SCROLL_LOCK_PIN A8