]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/dactyl_manuform/4x6/config.h
[Keyboard] Added DMOTE (#6087)
[qmk_firmware.git] / keyboards / handwired / dactyl_manuform / 4x6 / config.h
1 /*
2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #pragma once
20
21 #include "config_common.h"
22
23 /* USB Device descriptor parameter */
24 #define VENDOR_ID       0xFEED
25 #define PRODUCT_ID      0x3060
26 #define DEVICE_VER      0x0001
27 #define MANUFACTURER    tshort
28 #define DESCRIPTION     A split keyboard for the cheap makers
29
30 /* key matrix size */
31 // Rows are doubled-up
32 #define MATRIX_ROWS 10
33 #define MATRIX_COLS 6
34
35 // row-driven
36 #define MATRIX_ROW_PINS { F7, B1, B3, B2, B6 }
37 #define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
38
39 /* COL2ROW or ROW2COL */
40 #define DIODE_DIRECTION COL2ROW
41
42 // WS2812 RGB LED strip input and number of LEDs
43 #define RGB_DI_PIN D3
44 #define RGBLED_NUM 12