From 2e31f542dc7f42fa95d16cbe1250da4243b04ac3 Mon Sep 17 00:00:00 2001 From: holtenc Date: Mon, 21 Feb 2022 01:43:55 -0600 Subject: [Keyboard] Add Obro (#15884) Co-authored-by: Drashna Jaelre Co-authored-by: Ryan --- keyboards/handwired/obro/config.h | 58 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 keyboards/handwired/obro/config.h (limited to 'keyboards/handwired/obro/config.h') diff --git a/keyboards/handwired/obro/config.h b/keyboards/handwired/obro/config.h new file mode 100644 index 000000000..1217214dd --- /dev/null +++ b/keyboards/handwired/obro/config.h @@ -0,0 +1,58 @@ +/* +Copyright 2022 Holten Campbell + +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 0x5052 +#define PRODUCT_ID 0x0042 +#define DEVICE_VER 0x0002 +#define MANUFACTURER Prime Keyboards +#define PRODUCT obro + +/* key matrix size */ +#define MATRIX_ROWS 5 +#define MATRIX_COLS 14 + +#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, F7, D4, B7, B3, D5, D3, D2, D1, D0 } +#define MATRIX_ROW_PINS { E6, F0, F6, D7, D6 } + +#define DIODE_DIRECTION COL2ROW + +#define RGB_DI_PIN F1 +#define RGBLED_NUM 64 +#define RGBLIGHT_EFFECT_BREATHING +#define RGBLIGHT_EFFECT_RAINBOW_MOOD +#define RGBLIGHT_EFFECT_RAINBOW_SWIRL +#define RGBLIGHT_EFFECT_SNAKE +#define RGBLIGHT_EFFECT_KNIGHT +#define RGBLIGHT_EFFECT_CHRISTMAS +#define RGBLIGHT_EFFECT_STATIC_GRADIENT +#define RGBLIGHT_EFFECT_RGB_TEST +#define RGBLIGHT_EFFECT_ALTERNATING +#define RGBLIGHT_EFFECT_TWINKLE +#define RGBLIGHT_LIMIT_VAL 200 + +/* Set 0 if debouncing isn't 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 -- cgit v1.2.3