]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/lets_split_eh/eh/config.h
Lets split eh (#3120)
[qmk_firmware.git] / keyboards / lets_split_eh / eh / 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 #ifndef EH_CONFIG_H
20 #define EH_CONFIG_H
21
22 // To let configuration know this is of type EH, which will force I2C irregardless of user config
23 #define EH
24
25 #include "config_common.h"
26
27 /* Let's Split EH? pin-out */
28 #define MATRIX_ROW_PINS { B1, B3, D7, B4 }
29 #define MATRIX_COL_PINS { F4, F5, C6, B6, B5, D5 }
30 #define UNUSED_PINS
31
32 #define DIODE_DIRECTION COL2ROW
33
34 #define BACKLIGHT_PIN B7
35
36 /* number of backlight levels */
37 #define BACKLIGHT_LEVELS 3
38
39 /* ws2812 RGB LED */
40 #define RGB_DI_PIN B2
41 #define RGBLED_NUM 6    // Number of LEDs (each hand)
42
43 /* Split Defines */
44 #define SPLIT_HAND_PIN D3
45
46 #endif
47