logo

qmk_firmware

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

config.h (1356B)


  1. /*
  2. Copyright 2015 Jun Wako <wakojun@gmail.com>
  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. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #pragma once
  15. #define LED_BRIGHTNESS_LO 100
  16. #define LED_BRIGHTNESS_HI 255
  17. /* LED matrix driver */
  18. #define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
  19. #define IS31FL3731_SDB_PIN B16
  20. /* i2c (for LED matrix) */
  21. #define I2C1_CLOCK_SPEED 400000
  22. #define I2C1_SCL_PAL_MODE PAL_MODE_ALTERNATIVE_2
  23. #define I2C1_SDA_PAL_MODE PAL_MODE_ALTERNATIVE_2
  24. #define I2C1_SCL_PIN B0
  25. #define I2C1_SDA_PIN B1
  26. /*
  27. * Feature disable options
  28. * These options are also useful to firmware size reduction.
  29. */
  30. /* disable debug print */
  31. //#define NO_DEBUG
  32. /* disable print */
  33. //#define NO_PRINT
  34. /* disable action features */
  35. //#define NO_ACTION_LAYER
  36. //#define NO_ACTION_TAPPING
  37. //#define NO_ACTION_ONESHOT