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

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 Sony NEWS Topre Keyboard
  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 epsonqx10.h )
  28. ###
  29. # Module Specific Options
  30. #
  31. add_definitions( -I${HEAD_DIR}/Keymap )
  32. #| Keymap Settings
  33. add_definitions(
  34. -DMODIFIER_MASK=epsonqx10_ModifierMask
  35. -DKEYINDEX_MASK=epsonqx10_ColemakMap
  36. #-DKEYINDEX_MASK=epsonqx10_DefaultMap
  37. )
  38. ###
  39. # Compiler Family Compatibility
  40. #
  41. set( ScanModuleCompatibility
  42. avr
  43. )