config.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
  2. * Copyright 2019 Sunjun Kim
  3. * Copyright 2020 Ploopy Corporation
  4. *
  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. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #pragma once
  19. // These pins are not broken out, and cannot be used normally.
  20. // They are set as output and pulled high, by default
  21. #define UNUSABLE_PINS \
  22. { B4, D6, F1, F5, F6, F7 }
  23. /* disable action features */
  24. //#define NO_ACTION_LAYER
  25. //#define NO_ACTION_TAPPING
  26. //#define NO_ACTION_ONESHOT
  27. // #define DEBUG_LED_PIN F7
  28. /* PMW33XX Settings */
  29. #define PMW33XX_CS_PIN B0
  30. #define ENCODER_BUTTON_COL 1
  31. #define ENCODER_BUTTON_ROW 0
  32. /* Custom encoder needs to specify just how many encoders we have */
  33. #define NUM_ENCODERS 1
  34. #define ENCODERS_PAD_A { F0 }
  35. #define ENCODERS_PAD_B { F4 }