diff options
author | QMK Bot <hello@qmk.fm> | 2022-07-15 02:45:47 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-07-15 02:45:47 +0000 |
commit | 15c09335e95a5d2cbbbe44a2582d598d8c587aa5 (patch) | |
tree | 6115e3c8cd5bbd6b004d3b383886ec15c2fdebc8 /keyboards/chocofly/v1/config.h | |
parent | 7501523e1f7d99c3abf3efbe2ad88cb4bac51367 (diff) | |
parent | 807620fa3c9995db29f0752162cee136a1381c13 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/chocofly/v1/config.h')
-rw-r--r-- | keyboards/chocofly/v1/config.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/chocofly/v1/config.h b/keyboards/chocofly/v1/config.h new file mode 100644 index 0000000000..e5bedf80c6 --- /dev/null +++ b/keyboards/chocofly/v1/config.h @@ -0,0 +1,22 @@ +// 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 |