diff options
author | Daniel Osipishin <88534270+subrezon@users.noreply.github.com> | 2022-05-12 00:39:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 15:39:08 -0700 |
commit | ba599270189242a728a230e7879b9c189a22053f (patch) | |
tree | e5730a9967177922165fb99c020b9228095343ab /keyboards/subrezon/la_nc/config.h | |
parent | 8e9a81a86077349b98b6c381d7f75ff10b161295 (diff) |
[Keyboard] Add subrezon/la_nc keyboard (#16833)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Daniel Osipishin <daniel.osipishin@retarus.de>
Diffstat (limited to 'keyboards/subrezon/la_nc/config.h')
-rw-r--r-- | keyboards/subrezon/la_nc/config.h | 33 |
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 |