aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/duck/orion/v3/config.h
diff options
context:
space:
mode:
authorGravatar MechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-10-04 22:06:57 -0700
committerGravatar noroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-10-04 22:06:57 -0700
commit60b2a9a5ea88321629e970e936652cc1ba786b80 (patch)
treee2d35cd155cdc334ead653a9699ff2ae7dcde6a0 /keyboards/duck/orion/v3/config.h
parent537623c9db15e29889c1c78e55ebcbba13edbabb (diff)
downloadqmk_firmware-60b2a9a5ea88321629e970e936652cc1ba786b80.tar.gz
[Keyboard] Preliminary Support for Duck Orion V3 (#6892)
* initial commit * fixup init_rows and read_rows routine * fixup matrix based on Marcus's tracing info * add a temporary keymap * add notes * use a standard tkl ansi keymap * turn on that last column * backslash and backspace row left to fix * reorg from backslash to pgdn * got the matrix done but the backspace location at K4N is still suspect * add reset info into readme * add qmk configurator support * add community layout support * remove uneeded keymap readme * add a new column just for the reset switch * change copyright dates * add cautionary message to readme as we don't know about the lighting condition yet * Update keyboards/duck/orion/v3/v3.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/duck/orion/v3/v3.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/duck/orion/v3/v3.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * change bootloader comments
Diffstat (limited to 'keyboards/duck/orion/v3/config.h')
-rw-r--r--keyboards/duck/orion/v3/config.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/keyboards/duck/orion/v3/config.h b/keyboards/duck/orion/v3/config.h
new file mode 100644
index 000000000..3a17d5941
--- /dev/null
+++ b/keyboards/duck/orion/v3/config.h
@@ -0,0 +1,50 @@
+/*
+Copyright 2019 MechMerlin <mechmerlin@gmail.com>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0x444B // Duck ("DK")
+#define PRODUCT_ID 0x4F52 // Orion ("OR")
+#define DEVICE_VER 0x0002
+#define MANUFACTURER Duck
+#define PRODUCT Orion V3
+#define DESCRIPTION TKL Korean custom keyboard
+
+/* key matrix size */
+#define MATRIX_ROWS 6
+#define MATRIX_COLS 18
+
+#define DIODE_DIRECTION COL2ROW
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCE 5
+
+/* number of backlight levels */
+#define BACKLIGHT_LEVELS 3
+
+#define RGBLIGHT_ANIMATIONS
+#define RGB_DI_PIN D6
+#define RGBLED_NUM 17
+
+/* Set to top left most key */
+#define BOOTMAGIC_LITE_ROW 4
+#define BOOTMAGIC_LITE_COLUMN 10
+
+#define TAPPING_TERM 200