summaryrefslogtreecommitdiff
path: root/keyboards/edinburgh41/config.h
diff options
context:
space:
mode:
authorschwarzer-geiger <lalitmistry1407@gmail.com>2023-01-26 11:34:27 -0500
committerGitHub <noreply@github.com>2023-01-26 16:34:27 +0000
commit3823046712c3c28c14a219b78d7d3bc30f76493f (patch)
treeb2558c1a07954136a4fbe73906190601c2781720 /keyboards/edinburgh41/config.h
parentfa132baa43a69ce7245e977916280eac5f8a0485 (diff)
new keyboard: edinburgh41 (#19569)
* added edinburgh41 Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/edinburgh41/config.h')
-rw-r--r--keyboards/edinburgh41/config.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/keyboards/edinburgh41/config.h b/keyboards/edinburgh41/config.h
new file mode 100644
index 0000000000..d1f5c41fd4
--- /dev/null
+++ b/keyboards/edinburgh41/config.h
@@ -0,0 +1,42 @@
+// Copyright 2022 L. Mistry (@schwarzer-geiger)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "config_common.h"
+
+#define MATRIX_ROW_PINS \
+ { F4, F5, F6, F7, B1, B3, B2 }
+#define MATRIX_COL_PINS \
+ { D1, D4, C6, D7, E6, B4 }
+
+#define DIODE_DIRECTION COL2ROW
+
+#define DEBOUNCE 5
+
+// Underglow LED settings
+
+#define RGB_DI_PIN D0
+#define RGBLED_NUM 10
+
+// Thumbstick settings
+#define ANALOG_JOYSTICK_X_AXIS_PIN B5
+#define ANALOG_JOYSTICK_Y_AXIS_PIN B6
+
+// Thumbstick defaults
+
+#ifndef SCROLLING_LAYER
+ #define SCROLLING_LAYER 1
+#endif
+#ifndef TAPPING_LAYER
+ #define TAPPING_LAYER 2
+#endif
+#ifndef CURSOR_SPEED
+ #define CURSOR_SPEED 70
+#endif
+#ifndef SCROLL_SPEED
+ #define SCROLL_SPEED 25
+#endif
+#ifndef SCROLL_DELAY_MS
+ #define SCROLL_DELAY_MS 70
+#endif