From b2a0e98a6018ad019533d98c0c9c8501cba933bc Mon Sep 17 00:00:00 2001 From: MajorKoos Date: Sat, 27 Feb 2021 21:57:04 -0800 Subject: 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 --- keyboards/oddforge/vea/config.h | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 keyboards/oddforge/vea/config.h (limited to 'keyboards/oddforge/vea/config.h') 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 + +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 . +*/ + +#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 -- cgit v1.2.3