summaryrefslogtreecommitdiff
path: root/keyboards/subrezon/la_nc/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/subrezon/la_nc/config.h')
-rw-r--r--keyboards/subrezon/la_nc/config.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/keyboards/subrezon/la_nc/config.h b/keyboards/subrezon/la_nc/config.h
new file mode 100644
index 0000000000..6d5aad031a
--- /dev/null
+++ b/keyboards/subrezon/la_nc/config.h
@@ -0,0 +1,33 @@
+// Copyright 2022 Daniel Osipishin (@subrezon)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "config_common.h"
+
+// USB device parameters
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x1A7C
+#define DEVICE_VER 0x0100
+
+// key matrix
+#define MATRIX_ROWS 6
+#define MATRIX_ROW_PINS {D3, F4, D2, B2, B5, B6}
+
+#define MATRIX_COLS 10
+#define MATRIX_COL_PINS {B3, B1, F7, F6, F5, D4, C6, D7, E6, B4}
+
+#define UNUSED_PINS
+#define DIODE_DIRECTION COL2ROW
+#define DEBOUNCE 5
+
+// Bootmagic Lite
+#define BOOTMAGIC_LITE_ROW 0
+#define BOOTMAGIC_LITE_COLUMN 0
+
+// uncomment to reduce firmware size
+//#define NO_DEBUG
+//#define NO_PRINT
+//#define NO_ACTION_LAYER
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT