You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.3 KiB

  1. /* Copyright 2021 Colin Lam (Ploopy Corporation)
  2. * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
  3. * Copyright 2019 Sunjun Kim
  4. * Copyright 2019 Hiroyuki Okada
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. #pragma once
  20. /* disable action features */
  21. //#define NO_ACTION_LAYER
  22. //#define NO_ACTION_TAPPING
  23. //#define NO_ACTION_ONESHOT
  24. // If board has a debug LED, you can enable it by defining this
  25. // #define DEBUG_LED_PIN F7
  26. #define ADNS5050_SCLK_PIN B7
  27. #define ADNS5050_SDIO_PIN C6
  28. #define ADNS5050_CS_PIN B4
  29. #define POINTING_DEVICE_ROTATION_270
  30. /* Custom encoder needs to specify just how many encoders we have */
  31. #define NUM_ENCODERS 1