Kiibohd Controller
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

setup.cmake 655B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ###| CMake Kiibohd Controller Scan Module |###
  2. #
  3. # Written by Jacob Alexander in 2011 for the Kiibohd Controller
  4. #
  5. # Released into the Public Domain
  6. #
  7. ###
  8. ###
  9. # Warning, that this module is not meant to be built stand-alone
  10. #
  11. message( FATAL_ERROR
  12. "The 'matrix' module is not a stand-alone module, and requires further setup.
  13. See BudKeypad module for as an example module."
  14. )
  15. ###
  16. # Module C files
  17. #
  18. set( SCAN_SRCS
  19. matrix_scan.c
  20. scan_loop.c
  21. )
  22. ###
  23. # Module Specific Options
  24. #
  25. add_definitions( -I${HEAD_DIR}/Keymap )
  26. add_definitions(
  27. #-DMODIFIER_MASK=
  28. #-DKEYINDEX_MASK=
  29. )
  30. ###
  31. # Compiler Family Compatibility
  32. #
  33. set( ScanModuleCompatibility
  34. avr
  35. )