forked from forks/qmk_firmware
807620fa3c
* [Keyboard] Add Chocofly v1 * PR Feedback * Small change to keymap. * Replace KC__VOLUP and KC__VOLDOWN with single underscore version. * Apply suggestions from code review * Required for my PC * Required for my PC
23 lines
545 B
C
23 lines
545 B
C
// Copyright 2022 Vitaly Volkov (@vlkv)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#define VENDOR_ID 0xCEE2
|
|
#define PRODUCT_ID 0x1001
|
|
#define DEVICE_VER 0x0001
|
|
#define MANUFACTURER vitvlkv
|
|
#define PRODUCT Chocofly
|
|
|
|
#define MATRIX_ROWS 8
|
|
#define MATRIX_COLS 8
|
|
|
|
#define MATRIX_ROW_PINS { D1, D0, D4, C6, D7, E6, B4, B5 }
|
|
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }
|
|
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
#define ENCODERS_PAD_A { D3 }
|
|
#define ENCODERS_PAD_B { D2 }
|
|
#define ENCODER_RESOLUTION 2
|