config.h 720 B

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. #ifdef PRODUCT
  3. # undef PRODUCT
  4. # define PRODUCT "Iris Keyboard - pvinis"
  5. #endif
  6. // Select hand configuration.
  7. // #define MASTER_LEFT
  8. #define MASTER_RIGHT
  9. // #define EE_HANDS
  10. // Choose pin to use for audio. C6 is the one iris uses.
  11. #ifdef AUDIO_ENABLE
  12. # define AUDIO_PIN C6
  13. # define STARTUP_SONG SONG(NO_SOUND) // No startup song.
  14. #endif
  15. #ifdef RGBLIGHT_ENABLE
  16. # undef RGBLED_NUM
  17. # define RGBLED_NUM 16
  18. #endif
  19. #ifdef ENCODER_ENABLE
  20. # define ENCODERS_PAD_A \
  21. { F5 } // I connected the encoder to F4 and F5.
  22. # define ENCODERS_PAD_B \
  23. { F4 }
  24. // #define ENCODERS_PAD_A_RIGHT { B5 }
  25. // #define ENCODERS_PAD_B_RIGHT { C6 }
  26. # define ENCODER_RESOLUTION 2
  27. #endif