aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/orange75/config.h
diff options
context:
space:
mode:
authorcaptsis <34025500+captsis@users.noreply.github.com>2018-10-08 15:20:31 -1000
committerDrashna Jaelre <drashna@live.com>2018-10-08 18:20:31 -0700
commitbe227b43174f6ec9effbbfc25eb9a853b42cbf2f (patch)
tree867c0bc73f8e4aa64a1531d3ce4fa927d087a4d8 /keyboards/orange75/config.h
parent98a63d8d6e91fcd0de4e8496d21ceef17b81d5d1 (diff)
downloadfirmware-be227b43174f6ec9effbbfc25eb9a853b42cbf2f.tar.gz
firmware-be227b43174f6ec9effbbfc25eb9a853b42cbf2f.tar.bz2
firmware-be227b43174f6ec9effbbfc25eb9a853b42cbf2f.zip
Keyboard: add orange75 (#4093)
* New Keyboard: orange75 Co-Authored-By: fox-lab <fox-lab@users.noreply.github.com> * Update keyboards/orange75/info.json corrected * #4093 corrections * added del to layout again * clarified supported hardware * directives... * Update keyboards/orange75/config.h * Update keyboards/orange75/readme.md
Diffstat (limited to 'keyboards/orange75/config.h')
-rw-r--r--keyboards/orange75/config.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/keyboards/orange75/config.h b/keyboards/orange75/config.h
new file mode 100644
index 000000000..7d1b497be
--- /dev/null
+++ b/keyboards/orange75/config.h
@@ -0,0 +1,35 @@
+#pragma once
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEEB
+#define PRODUCT_ID 0x6060
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Fox-Lab
+#define PRODUCT Orange75
+#define DESCRIPTION Keyboard
+
+/* key matrix size */
+#define MATRIX_ROWS 15
+#define MATRIX_COLS 6
+
+/* key matrix pins */
+#define MATRIX_ROW_PINS { E6,F0, F1, F4, F5, F6, F7, C7, C6, B6, B4, D7, D4, D5, D6 }
+#define MATRIX_COL_PINS { D3, D2, D1, D0, B7, B3 }
+#define UNUSED_PINS
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* number of backlight levels */
+#define BACKLIGHT_PIN B5
+#define BACKLIGHT_LEVELS 3
+
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCING_DELAY 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