summaryrefslogtreecommitdiff
path: root/keyboards/lw75/config.h
diff options
context:
space:
mode:
authorLaneware <68452738+Laneware@users.noreply.github.com>2023-02-08 14:42:47 +1000
committerGitHub <noreply@github.com>2023-02-07 20:42:47 -0800
commitaa3b64db2bd8776f0b452bc3106c6ee663b3cce4 (patch)
treede9e6df48c34fc582b6d51fc1917b97efe014af2 /keyboards/lw75/config.h
parenta7febfbb62182e72ecc39c5fa9e8bd9ac923f47e (diff)
[Keyboard] LW75 Support (#19506)
Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/lw75/config.h')
-rw-r--r--keyboards/lw75/config.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/lw75/config.h b/keyboards/lw75/config.h
new file mode 100644
index 0000000000..eb2d9efc26
--- /dev/null
+++ b/keyboards/lw75/config.h
@@ -0,0 +1,26 @@
+// Copyright 2023 Laneware Peripherals
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "config_common.h"
+
+/* key matrix pins */
+#define MATRIX_ROW_PINS { E6, B7, D0, D1, D2, B1 }
+#define MATRIX_COL_PINS { D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7, F6, F5, F4, B0, B2 }
+
+/*ENCODER*/
+#define ENCODERS_PAD_A { F0 }
+#define ENCODERS_PAD_B { F1 }
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE