aboutsummaryrefslogtreecommitdiff
path: root/keyboards/anavi/arrows/config.h
diff options
context:
space:
mode:
authorLeon Anavi <[email protected]>2023-12-05 08:43:14 +0100
committerGitHub <[email protected]>2023-12-04 23:43:14 -0800
commit6fb9de6cbbb29a674638f603b7c03b47b4c52130 (patch)
treeaa78ce662bfd3c6ff4b75b52c098f7ae20455fb2 /keyboards/anavi/arrows/config.h
parent61708d60fbc8f23597b697a2e18163c6dc9003c7 (diff)
downloadqmk_firmware-6fb9de6cbbb29a674638f603b7c03b47b4c52130.tar.gz
qmk_firmware-6fb9de6cbbb29a674638f603b7c03b47b4c52130.zip
[Keyboard] Add ANAVI Arrows (#22454)
Co-authored-by: Drashna Jaelre <[email protected]>
Diffstat (limited to 'keyboards/anavi/arrows/config.h')
-rw-r--r--keyboards/anavi/arrows/config.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/anavi/arrows/config.h b/keyboards/anavi/arrows/config.h
new file mode 100644
index 0000000000..02e7781e57
--- /dev/null
+++ b/keyboards/anavi/arrows/config.h
@@ -0,0 +1,25 @@
+// Copyright 2023 Leon Anavi <[email protected]>
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
+
+/* Double tap reset button to enter bootloader */
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
+
+#ifdef BACKLIGHT_ENABLE
+# define BACKLIGHT_PWM_DRIVER PWMD5
+# define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_A
+#endif
+
+#define I2C1_SDA_PIN GP6
+#define I2C1_SCL_PIN GP7
+
+#ifdef OLED_ENABLE
+# define OLED_DISPLAY_128X64
+# define OLED_TIMEOUT 60000
+# define OLED_BRIGHTNESS 128
+#endif