config.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
  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. #define EE_HANDS
  18. #ifdef RGBLIGHT_ENABLE
  19. # undef RGBLED_NUM
  20. # define RGBLED_NUM 18 // Number of LEDs
  21. # undef RGBLED_SPLIT
  22. # define RGBLED_SPLIT \
  23. { 9, 9 }
  24. # define RGBLIGHT_HUE_STEP 8
  25. # define RGBLIGHT_SAT_STEP 8
  26. # define RGBLIGHT_VAL_STEP 8
  27. # define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
  28. # define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
  29. # define RGBLIGHT_LIMIT_VAL 225
  30. #endif // RGBLIGHT_ENABLE
  31. #ifdef AUDIO_ENABLE
  32. # define AUDIO_PIN C6
  33. # ifdef RGBLIGHT_ENABLE
  34. # ifndef __arm__
  35. # define NO_MUSIC_MODE
  36. # endif
  37. # endif // RGBLIGHT_ENABLE
  38. #endif // AUDIO_ENABLE
  39. #if defined(KEYBOARD_keebio_iris_rev1) || defined(KEYBOARD_keebio_iris_rev2)
  40. # define QMK_ESC_OUTPUT F6 // usually COL
  41. # define QMK_ESC_INPUT D7 // usually ROW
  42. # define QMK_LED B0
  43. # define QMK_SPEAKER C6
  44. #endif
  45. #undef PRODUCT
  46. #if defined(KEYBOARD_keebio_iris_rev2)
  47. # define PRODUCT "Drashna Hacked Iris Rev 2"
  48. #elif defined(KEYBOARD_keebio_iris_rev3)
  49. # define PRODUCT "Drashna Hacked Iris Rev 3"
  50. #elif defined(KEYBOARD_keebio_iris_rev4)
  51. # define PRODUCT "Drashna Hacked Iris Rev 4"
  52. #endif
  53. #define SHFT_LED1 6
  54. #define SHFT_LED2 11
  55. #define CTRL_LED1 7
  56. #define CTRL_LED2 10
  57. #define ALT_LED1 8
  58. #define GUI_LED1 9
  59. #define BOOTMAGIC_LITE_ROW 4
  60. #define BOOTMAGIC_LITE_COLUMN 3