2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
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.
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.
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/>.
21 /* USB Device descriptor parameter */
22 #define VENDOR_ID 0xFEED
23 #define PRODUCT_ID 0x3060
24 #define DEVICE_VER 0x0002
25 #define MANUFACTURER RGBKB
27 #define DESCRIPTION "An RGB, split, ortho-esque keyboard"
32 #define BACKLIGHT_LEDS 124
34 #ifdef FULLHAND_ENABLE
35 #define FULLHAND_LEDS 24
37 #define FULLHAND_LEDS 0
40 // Underglow / DIY Tent Glow are parallel to the top row leds, no separate define
43 #define RGBLED_NUM ((BACKLIGHT_LEDS + FULLHAND_LEDS) / 2)
45 #define RGBLED_NUM (BACKLIGHT_LEDS + FULLHAND_LEDS)
47 #define DRIVER_LED_TOTAL RGBLED_NUM
49 #define RGB_MATRIX_CENTER { 112, 37 }
52 #ifndef EXTRA_ENCODERS_ENABLE
53 #define ENCODERS_PAD_A { D2 }
54 #define ENCODERS_PAD_B { D6 }
56 #ifdef OLED_DRIVER_ENABLE
57 #error Extra encoders cannot be enabled at the same time as the OLED Driver as they use the same pins.
59 #define ENCODERS_PAD_A { D2, D1, B0 }
60 #define ENCODERS_PAD_B { D6, B1, D0 }