summaryrefslogtreecommitdiff
path: root/keyboards/westfoxtrot/prophet/config.h
diff options
context:
space:
mode:
authorCable Car Designs <17062872+westfoxtrot@users.noreply.github.com>2020-06-09 19:37:41 +0100
committerGitHub <noreply@github.com>2020-06-09 11:37:41 -0700
commitb83fb9eb711ea8c7b064a660bc20b62f4d812bd4 (patch)
tree70257e88a1b7a0b231ac778bdb7ffcd87d376d74 /keyboards/westfoxtrot/prophet/config.h
parent3736db6081ac75ed425fde5ff52deab78d27b650 (diff)
[Keyboard] add prophet support (#9275)
* add prophet support * Update keyboards/westfoxtrot/prophet/config.h * Update keyboards/westfoxtrot/prophet/rules.mk * Update keyboards/westfoxtrot/prophet/config.h * Update keyboards/westfoxtrot/prophet/prophet.c * Update keyboards/westfoxtrot/prophet/readme.md * Update keyboards/westfoxtrot/prophet/readme.md * Update keyboards/westfoxtrot/prophet/keymaps/default/keymap.c * Update keyboards/westfoxtrot/prophet/keymaps/default/keymap.c * Update keyboards/westfoxtrot/prophet/keymaps/via/keymap.c * Update keyboards/westfoxtrot/prophet/keymaps/via/keymap.c * Update keyboards/westfoxtrot/prophet/keymaps/via/keymap.c * Update keyboards/westfoxtrot/prophet/keymaps/via/keymap.c * remove bootloader_defs fixed via keymap * Update keyboards/westfoxtrot/prophet/prophet.h * Update keyboards/westfoxtrot/prophet/keymaps/default/keymap.c * Update keyboards/westfoxtrot/prophet/keymaps/default/keymap.c * Update keyboards/westfoxtrot/prophet/keymaps/via/keymap.c * Update keyboards/westfoxtrot/prophet/keymaps/via/keymap.c * Update keyboards/westfoxtrot/prophet/keymaps/via/keymap.c * changed vendor id * changed prophet.c
Diffstat (limited to 'keyboards/westfoxtrot/prophet/config.h')
-rw-r--r--keyboards/westfoxtrot/prophet/config.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/keyboards/westfoxtrot/prophet/config.h b/keyboards/westfoxtrot/prophet/config.h
new file mode 100644
index 0000000000..2a457866c2
--- /dev/null
+++ b/keyboards/westfoxtrot/prophet/config.h
@@ -0,0 +1,33 @@
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFF21
+#define PRODUCT_ID 0xAA03
+#define DEVICE_VER 0x0001
+#define MANUFACTURER westfoxtrot
+#define PRODUCT prophet
+#define DESCRIPTION QMK Firmware for the prophet PCB
+
+/* key matrix size */
+#define MATRIX_ROWS 5
+#define MATRIX_COLS 14
+
+/*
+ * Keyboard Matrix Assignments
+*/
+#define MATRIX_ROW_PINS { C13, B2, B1, A4, A3 }
+#define MATRIX_COL_PINS { A6, A7, B0, A9, A8, A14, A15, B3, B4, B5, B8, B7, B6, B9 }
+#define UNUSED_PINS
+
+/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
+#define DIODE_DIRECTION COL2ROW
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not 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