config.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*
  2. This is the c configuration file for the keymap
  3. Copyright 2012 Jun Wako <wakojun@gmail.com>
  4. 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.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  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. /* Select hand configuration */
  18. // #define MASTER_LEFT
  19. // #define MASTER_RIGHT
  20. #define EE_HANDS
  21. #undef USE_I2C
  22. #undef SSD1306OLED
  23. #define USE_SERIAL_PD2
  24. // #define TAPPING_FORCE_HOLD
  25. // #define TAPPING_TERM 100
  26. #ifdef RGBLIGHT_ENABLE
  27. # undef RGBLED_NUM
  28. # define RGBLED_NUM 27
  29. # define RGBLIGHT_HUE_STEP 8
  30. # define RGBLIGHT_SAT_STEP 8
  31. # define RGBLIGHT_VAL_STEP 8
  32. # define RGBLIGHT_LIMIT_VAL 100
  33. #endif
  34. #ifdef RGB_MATRIX_ENABLE
  35. # define RGB_MATRIX_KEYPRESSES // reacts to keypresses
  36. # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
  37. # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
  38. # define DISABLE_RGB_MATRIX_CYCLE_ALL
  39. # define DISABLE_RGB_MATRIX_CYCLE_UP_DOWN
  40. # define DISABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
  41. # define DISABLE_RGB_MATRIX_DUAL_BEACON
  42. # define DISABLE_RGB_MATRIX_RAINBOW_BEACON
  43. # define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS
  44. // #define DISABLE_RGB_MATRIX_RAINDROPS
  45. // #define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
  46. # define DISABLE_RGB_MATRIX_DIGITAL_RAIN
  47. # define DISABLE_RGB_MATRIX_SOLID_REACTIVE
  48. # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
  49. # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
  50. # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
  51. # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
  52. # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
  53. # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
  54. # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
  55. # define DISABLE_RGB_MATRIX_SOLID_SPLASH
  56. # define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
  57. #ifdef AUDIO_ENABLE
  58. # define B6_AUDIO
  59. // #define NO_MUSIC_MODE
  60. #endif
  61. #undef PRODUCT
  62. #define PRODUCT Drashna Hacked Corne Keyboard
  63. #define OLED_FONT_H "keyboards/crkbd/keymaps/drashna/glcdfont.c"
  64. // #define OLED_FONT_WIDTH 5
  65. // #define OLED_FONT_HEIGHT 7
  66. #define TAPPING_TERM_PER_KEY