Kiibohd Controller
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

setup.cmake 838B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. # For the Micro Switch 8304 Keyboard (No Branding)
  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 microswitch8304.h )
  28. ###
  29. # Module Specific Options
  30. #
  31. add_definitions( -I${HEAD_DIR}/Keymap )
  32. #| Keymap Settings
  33. add_definitions(
  34. -DMODIFIER_MASK=microswitch8304_ModifierMask
  35. -DKEYINDEX_MASK=microswitch8304_ColemakMap
  36. #-DKEYINDEX_MASK=microswitch8304_DefaultMap
  37. )
  38. ###
  39. # Compiler Family Compatibility
  40. #
  41. set( ScanModuleCompatibility
  42. avr
  43. )