summaryrefslogtreecommitdiff
path: root/keyboards/orbekk_ferris_sweep/config.h
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2024-11-25 19:27:42 -0500
committerKjetil Orbekk <kj@orbekk.com>2024-11-25 19:27:42 -0500
commit2664e41cf37822a8432993381412e54e77eedbbb (patch)
tree09145289407a3e75634bd038a5a93eb46ad669ac /keyboards/orbekk_ferris_sweep/config.h
parent67998a52f662227751180196dc9142e9270ef911 (diff)
Add ferris sweep RP2040 keyboard
Diffstat (limited to 'keyboards/orbekk_ferris_sweep/config.h')
-rw-r--r--keyboards/orbekk_ferris_sweep/config.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/keyboards/orbekk_ferris_sweep/config.h b/keyboards/orbekk_ferris_sweep/config.h
new file mode 100644
index 0000000000..0f82d6793e
--- /dev/null
+++ b/keyboards/orbekk_ferris_sweep/config.h
@@ -0,0 +1,55 @@
+// Copyright 2023 KJ Orbekk (@orbekk)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+/*
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+//#define NO_DEBUG
+
+/* disable print */
+//#define NO_PRINT
+
+/* disable action features */
+//#define NO_ACTION_LAYER
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT
+//#define SERIAL_USART_FULL_DUPLEX //Enable full duplex operation mode.
+#define SERIAL_USART_TX_PIN GP1
+//#define SERIAL_USART_RX_PIN GP1
+
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
+
+#define MASTER_LEFT
+
+#define LAYOUT(k0A, k0B, k0C, k0D, k0E, k4E, k4D, k4C, k4B, k4A, k1A, k1B, k1C, k1D, k1E, k5E, k5D, k5C, k5B, k5A, k2A, k2B, k2C, k2D, k2E, k6E, k6D, k6C, k6B, k6A, k3B, k3D, k3E, k7E, k7D, k7B) { \
+ {k0A, k0B, k0C, k0D, k0E}, \
+ {k1A, k1B, k1C, k1D, k1E}, \
+ {k2A, k2B, k2C, k2D, k2E}, \
+ {KC_NO, k3B, KC_NO, k3D, k3E}, \
+ {k4A, k4B, k4C, k4D, k4E}, \
+ {k5A, k5B, k5C, k5D, k5E}, \
+ {k6A, k6B, k6C, k6D, k6E}, \
+ {KC_NO, k7B, KC_NO, k7D, k7E} \
+}
+
+#define LAYOUT_LR( \
+LA0, LA1, LA2, LA3, LA4, \
+LB0, LB1, LB2, LB3, LB4, \
+LC0, LC1, LC2, LC3, LC4, \
+LT0, LT1, \
+RA0, RA1, RA2, RA3, RA4, \
+RB0, RB1, RB2, RB3, RB4, \
+RC0, RC1, RC2, RC3, RC4, \
+RT0, RT1 \
+) LAYOUT( \
+LA0, LA1, LA2, LA3, LA4, RA0, RA1, RA2, RA3, RA4, \
+LB0, LB1, LB2, LB3, LB4, RB0, RB1, RB2, RB3, RB4, \
+LC0, LC1, LC2, LC3, LC4, RC0, RC1, RC2, RC3, RC4, \
+LT0, LT1, KC_NO, KC_NO, RT0, RT1 \
+)