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 731B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. # For the Sanyo MBC-55X Series of keyboards
  8. #
  9. ###
  10. ###
  11. # Module C files
  12. #
  13. set( SCAN_SRCS
  14. scan_loop.c
  15. )
  16. ###
  17. # Module H files
  18. #
  19. set( SCAN_HDRS
  20. scan_loop.h
  21. )
  22. ###
  23. # File Dependency Setup
  24. #
  25. ADD_FILE_DEPENDENCIES( scan_loop.c ${SCAN_HDRS} )
  26. #add_file_dependencies( scan_loop.c ${SCAN_HDRS} )
  27. #add_file_dependencies( macro.c keymap.h facom6684.h )
  28. ###
  29. # Module Specific Options
  30. #
  31. add_definitions( -I${HEAD_DIR}/Keymap )
  32. #| Keymap Settings
  33. add_definitions(
  34. -DMODIFIER_MASK=facom6684_ModifierMask
  35. #-DKEYINDEX_MASK=facom6684_ColemakMap
  36. -DKEYINDEX_MASK=facom6684_DefaultMap
  37. )