summaryrefslogtreecommitdiffstats
path: root/keyboards/pica40/rev2/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/pica40/rev2/config.h')
-rw-r--r--keyboards/pica40/rev2/config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/pica40/rev2/config.h b/keyboards/pica40/rev2/config.h
new file mode 100644
index 0000000000..1a59bee3dd
--- /dev/null
+++ b/keyboards/pica40/rev2/config.h
@@ -0,0 +1,19 @@
+// Copyright 2022 zzeneg (@zzeneg)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define SERIAL_USART_TX_PIN GP0
+
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
+
+#ifdef RGBLIGHT_ENABLE
+# define RGBLIGHT_DISABLE_KEYCODES // disable keycodes for RGB Light controls, only status LED is supported
+# define PICA40_RGBLIGHT_TIMEOUT 5 // turn RGB off after N minutes
+#endif
+
+#ifdef ENCODER_ENABLE
+# define SPLIT_TRANSACTION_IDS_KB ENCODER_SYNC
+#endif