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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. ###| CMake Kiibohd Controller Scan Module |###
  2. #
  3. # Written by Jacob Alexander in 2013 for the Kiibohd Controller
  4. #
  5. # Released into the Public Domain
  6. #
  7. ###
  8. ###
  9. # Module C files
  10. #
  11. set( SCAN_SRCS
  12. scan_loop.c
  13. )
  14. ###
  15. # Module H files
  16. #
  17. set( SCAN_HDRS
  18. scan_loop.h
  19. )
  20. ###
  21. # File Dependency Setup
  22. #
  23. ADD_FILE_DEPENDENCIES( scan_loop.c ${SCAN_HDRS} )
  24. #add_file_dependencies( scan_loop.c ${SCAN_HDRS} )
  25. #add_file_dependencies( macro.c keymap.h avrcapsense.h )
  26. ###
  27. # Module Specific Options
  28. #
  29. add_definitions( -I${HEAD_DIR}/Keymap )
  30. #| Keymap Settings
  31. add_definitions(
  32. -DMODIFIER_MASK=avrcapsense_ModifierMask
  33. #-DKEYINDEX_MASK=avrcapsense_ColemakMap
  34. -DKEYINDEX_MASK=avrcapsense_DefaultMap
  35. )
  36. ###
  37. # Compiler Family Compatibility
  38. #
  39. set( ScanModuleCompatibility
  40. avr
  41. )