mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 12:48:52 +06:00
8de4065b09
* [Keyboard] Add avalanche * PR feedback * Update keyboards/avalanche/v1/config.h * Update keyboards/avalanche/v1/v1.h * Update keyboards/avalanche/v2/config.h * Update keyboards/avalanche/v2/v2.h * Update keyboards/avalanche/v3/config.h * Update keyboards/avalanche/v3/v3.h * Apply suggestions from code review * Remove rules.mk comment and fix other comments. * Shared encoder code, follow conventions in rules.mk files. * Remove config files which do not change defaul behavior.
23 lines
499 B
C
23 lines
499 B
C
// Copyright 2022 Vitaly Volkov (@vlkv)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#define VENDOR_ID 0xCEE2
|
|
#define PRODUCT_ID 0x0001
|
|
#define DEVICE_VER 0x0001
|
|
#define MANUFACTURER vitvlkv
|
|
#define PRODUCT Avalanche
|
|
|
|
#define MATRIX_ROWS 10
|
|
#define MATRIX_COLS 8
|
|
|
|
#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 }
|
|
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }
|
|
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
#define SOFT_SERIAL_PIN D2
|
|
|
|
#define BACKLIGHT_PIN B0
|