qmk_firmware/keyboards/subrezon/la_nc/config.h
Daniel Osipishin ba59927018
[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>
2022-05-11 15:39:08 -07:00

34 lines
738 B
C

// 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