summaryrefslogtreecommitdiff
path: root/keyboards/handwired/obro/config.h
diff options
context:
space:
mode:
authorholtenc <holtenc@gmail.com>2022-02-21 01:43:55 -0600
committerGitHub <noreply@github.com>2022-02-20 23:43:55 -0800
commit2e31f542dc7f42fa95d16cbe1250da4243b04ac3 (patch)
tree59e865bdbb4f56d3958b304b66686e67327d11df /keyboards/handwired/obro/config.h
parent14fb3cc8b04d019b585b0ea25d11f2939949429f (diff)
downloadqmk_firmware-2e31f542dc7f42fa95d16cbe1250da4243b04ac3.tar.gz
qmk_firmware-2e31f542dc7f42fa95d16cbe1250da4243b04ac3.zip
[Keyboard] Add Obro (#15884)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/handwired/obro/config.h')
-rw-r--r--keyboards/handwired/obro/config.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/keyboards/handwired/obro/config.h b/keyboards/handwired/obro/config.h
new file mode 100644
index 0000000000..1217214dd7
--- /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 <http://www.gnu.org/licenses/>.
+*/
+
+#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