]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/lets_split_eh/eh/config.h
[Keymap] Add missing tap dance action and fix RGB hues in personal keymaps (#6312)
[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 // The 'EH' only uses I2C
25 #define USE_I2C
26
27 #include "config_common.h"
28
29 /* Let's Split EH? pin-out */
30 #define MATRIX_ROW_PINS { B1, B3, D7, B4 }
31 #define MATRIX_COL_PINS { F4, F5, C6, B6, B5, D5 }
32 #define UNUSED_PINS
33
34 #define DIODE_DIRECTION COL2ROW
35
36 #define BACKLIGHT_PIN B7
37
38 /* number of backlight levels */
39 #define BACKLIGHT_LEVELS 3
40
41 /* ws2812 RGB LED */
42 #define RGB_DI_PIN B2
43 #define RGBLED_NUM 6    // Number of LEDs (each hand)
44
45 /* Split Defines */
46 #define SPLIT_HAND_PIN D3
47
48 #endif
49