logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

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. //RGB Underglow defines
  18. #define WS2812_LED_COUNT 20
  19. //RGB Matrix defines
  20. #define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
  21. #define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_SDA
  22. #define IS31FL3731_LED_COUNT 64
  23. #define RGB_MATRIX_LED_COUNT (IS31FL3731_LED_COUNT + WS2812_LED_COUNT)
  24. // enable/disable LEDs based on layout
  25. // switch between split backspace (1) or normal backspace(0)
  26. #define RGB_BACKLIGHT_USE_SPLIT_BACKSPACE 1
  27. // switch between Tsangan (1) or Arrows Bottom Row (0)
  28. #define RGB_BACKLIGHT_USE_7U_SPACEBAR 0
  29. // switch between standard split rshift (0) or arrows r shift (1)
  30. // .------------------. .-------------------.
  31. // | ? | Shift | Fn | vs | Shift | Up | Fn |
  32. // `------------------' `-------------------'
  33. #define RGB_BACKLIGHT_USE_SPLIT_RIGHT_SHIFT 1