summaryrefslogtreecommitdiff
path: root/keyboards/keyquest/enclave/config.h
diff options
context:
space:
mode:
authorkeyquest.tech <109129639+keyquesttech@users.noreply.github.com>2022-08-06 01:30:05 -0500
committerGitHub <noreply@github.com>2022-08-06 16:30:05 +1000
commit07fc37541d80a4eaad7ce0b14d780d24c9f8090b (patch)
treecaf084910a3a64e7b9ff514c0f2ce9f14fc57ed9 /keyboards/keyquest/enclave/config.h
parent10ad2389442c00c32714f6e9a6766e9e7bdec2c2 (diff)
Added support for keyquest keyboards (#17667)
Co-authored-by: Mathiaszmrga <mmoragrega@centro.edu.mx>
Diffstat (limited to 'keyboards/keyquest/enclave/config.h')
-rw-r--r--keyboards/keyquest/enclave/config.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/keyboards/keyquest/enclave/config.h b/keyboards/keyquest/enclave/config.h
new file mode 100644
index 0000000000..931386a775
--- /dev/null
+++ b/keyboards/keyquest/enclave/config.h
@@ -0,0 +1,53 @@
+/* Copyright 2021 keyquest
+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
+
+/* key matrix size */
+#define MATRIX_ROWS 3
+#define MATRIX_COLS 3
+
+/* Keyboard Matrix Assignments*/
+#define MATRIX_ROW_PINS { D6, B6, F5 }
+#define MATRIX_COL_PINS { B4, B7, C7 }
+#define UNUSED_PINS
+
+/* COL2ROW, ROW2COL*/
+#define DIODE_DIRECTION COL2ROW
+
+/* RGB light setup*/
+#define RGB_DI_PIN B5
+#define RGBLED_NUM 2
+#define RGBLIGHT_SLEEP
+#define RGBLIGHT_HUE_STEP 10
+#define RGBLIGHT_SAT_STEP 17
+#define RGBLIGHT_VAL_STEP 17
+#define RGBLIGHT_LIMIT_VAL 200
+
+/* RGB light animations*/
+#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
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCE 5
+
+/* define if matrix has ghost (lacks anti-ghosting diodes) */
+//#define MATRIX_HAS_GHOST