config.h (1526B)
1 /* Copyright 2017 Jason Williams (Wilba) 2 * 3 * This program is free software: you can redistribute it and/or modify 4 * it under the terms of the GNU General Public License as published by 5 * the Free Software Foundation, either version 2 of the License, or 6 * (at your option) any later version. 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 15 */ 16 #pragma once 17 18 //RGB Underglow defines 19 #define WS2812_LED_COUNT 20 20 21 //RGB Matrix defines 22 #define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND 23 #define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_SDA 24 #define IS31FL3731_LED_COUNT 64 25 26 #define RGB_MATRIX_LED_COUNT (IS31FL3731_LED_COUNT + WS2812_LED_COUNT) 27 28 // enable/disable LEDs based on layout 29 // switch between split backspace (1) or normal backspace(0) 30 #define RGB_BACKLIGHT_USE_SPLIT_BACKSPACE 1 31 // switch between Tsangan (1) or Arrows Bottom Row (0) 32 #define RGB_BACKLIGHT_USE_7U_SPACEBAR 0 33 // switch between standard split rshift (0) or arrows r shift (1) 34 // .------------------. .-------------------. 35 // | ? | Shift | Fn | vs | Shift | Up | Fn | 36 // `------------------' `-------------------' 37 #define RGB_BACKLIGHT_USE_SPLIT_RIGHT_SHIFT 1