]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/rgbkb/sol/rev1/config.h
Sol Rev 2 Keyboard (#6389)
[qmk_firmware.git] / keyboards / rgbkb / sol / rev1 / 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 /* USB Device descriptor parameter */
22 #define VENDOR_ID       0xFEED
23 #define PRODUCT_ID      0x3060
24 #define DEVICE_VER      0x0001
25 #define MANUFACTURER    RGBKB
26 #define PRODUCT         Sol
27 #define DESCRIPTION     "An RGB, split, ortho-esque keyboard"
28
29 /* ws2812 RGB LED */
30 #define RGB_DI_PIN B3
31
32 #ifdef LED_MIRRORED
33   #define RGBLED_NUM 35
34 #else
35   #define RGBLED_NUM 70
36 #endif
37 #define DRIVER_LED_TOTAL  RGBLED_NUM
38
39 #define RGB_MATRIX_CENTER { 112, 35 }
40
41 // Encoder support
42 #define ENCODERS_PAD_A { D2 }
43 #define ENCODERS_PAD_B { D6 }