]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/converter/ibm_5291/config.h
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
[qmk_firmware.git] / keyboards / converter / ibm_5291 / config.h
1 /*
2 Copyright 2018 listofoptions <listofoptions@gmail.com>
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #pragma once
19
20 #include "config_common.h"
21
22 #define VENDOR_ID           0xFEED
23 #define PRODUCT_ID          0x6060
24 #define DEVICE_VER          1
25 #define MANUFACTURER        QMK
26 #define PRODUCT             5291 keyboard converter
27 #define DESCRIPTION         5291 keyboard converter
28
29 #define MATRIX_ROWS         24
30 #define MATRIX_COLS         4
31
32 #define MATRIX_ROW_PINS   {B2, B3, B4, B5, B6}
33 #define MATRIX_COL_PINS   {B0, B1}
34 #define MATRIX_DATA_PIN   D0
35 #define MATRIX_STROBE_PIN D1
36 #define LED_PIN           D6
37
38
39 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
40 #define DEBOUNCE    0