Kiibohd Controller
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

setup.cmake 762B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ###| CMake Kiibohd Controller Scan Module |###
  2. #
  3. # Written by Jacob Alexander in 2012 for the Kiibohd Controller
  4. #
  5. # Released into the Public Domain
  6. #
  7. # For the Sony Word Processor OA-S3400 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. ###
  28. # Module Specific Options
  29. #
  30. add_definitions( -I${HEAD_DIR}/Keymap )
  31. #| Keymap Settings
  32. add_definitions(
  33. -DMODIFIER_MASK=sonyoas3400_ModifierMask
  34. -DKEYINDEX_MASK=sonyoas3400_ColemakMap
  35. #-DKEYINDEX_MASK=sonyoas3400_DefaultMap
  36. )
  37. ###
  38. # Compiler Family Compatibility
  39. #
  40. set( ScanModuleCompatibility
  41. avr
  42. )