summaryrefslogtreecommitdiff
path: root/keyboards/oddforge/vea/config.h
diff options
context:
space:
mode:
authorMajorKoos <MajorKoos@users.noreply.github.com>2021-02-27 21:57:04 -0800
committerGitHub <noreply@github.com>2021-02-28 16:57:04 +1100
commitb2a0e98a6018ad019533d98c0c9c8501cba933bc (patch)
tree46ef53bba774f433507fa57606cd892b98f7d5e1 /keyboards/oddforge/vea/config.h
parent74372424ae4c5be0b9f43d59306467ed775f6042 (diff)
OddForge VE.A (#11875)
* VEA Support * Update LEDs to use QMK methods * Enable Backlight * Update Vendor ID * Updates to enable split RGB * Update readme * Update to split RGB * remove unnecessary reference * Knight animation starts at the back * remove hardcoded variable Co-authored-by: Major Koos <MajorKoos@noreply.users.github.com>
Diffstat (limited to 'keyboards/oddforge/vea/config.h')
-rw-r--r--keyboards/oddforge/vea/config.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/keyboards/oddforge/vea/config.h b/keyboards/oddforge/vea/config.h
new file mode 100644
index 0000000000..44f5264017
--- /dev/null
+++ b/keyboards/oddforge/vea/config.h
@@ -0,0 +1,46 @@
+/*
+Copyright 2021 MajorKoos <github.com/majorkoos>
+
+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 0xFFFE
+#define PRODUCT_ID 0x4155
+#define DEVICE_VER 0x0100
+#define MANUFACTURER OddForge
+#define PRODUCT VE.A
+
+/* matrix size */
+#define MATRIX_ROWS 8
+#define MATRIX_COLS 15
+
+#define DEBOUNCE 5
+#define LOCKING_SUPPORT_ENABLE
+#define LOCKING_RESYNC_ENABLE
+
+#define DYNAMIC_KEYMAP_LAYER_COUNT 3
+
+#define RGBLED_NUM 18
+#define RGBLIGHT_ANIMATIONS
+#define RGBLIGHT_SLEEP
+#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 9
+
+#define LED_NUM_LOCK_PIN D0
+#define LED_CAPS_LOCK_PIN D1
+#define LED_SCROLL_LOCK_PIN D6
+#define BACKLIGHT_PIN D4