This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2013-04-10 18:06:10 +00:00
|
|
|
###| CMake Kiibohd Controller Scan Module |###
|
|
|
|
#
|
2013-04-14 02:35:59 +00:00
|
|
|
# Written by Jacob Alexander in 2013 for the Kiibohd Controller
|
2013-04-10 18:06:10 +00:00
|
|
|
#
|
|
|
|
# Released into the Public Domain
|
|
|
|
#
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
# Module C files
|
|
|
|
#
|
|
|
|
|
|
|
|
set( SCAN_SRCS
|
2013-04-14 02:35:59 +00:00
|
|
|
scan_loop.c
|
2013-04-10 18:06:10 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
2013-04-14 02:35:59 +00:00
|
|
|
###
|
|
|
|
# Module H files
|
|
|
|
#
|
|
|
|
set( SCAN_HDRS
|
|
|
|
scan_loop.h
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
# File Dependency Setup
|
|
|
|
#
|
|
|
|
ADD_FILE_DEPENDENCIES( scan_loop.c ${SCAN_HDRS} )
|
|
|
|
#add_file_dependencies( scan_loop.c ${SCAN_HDRS} )
|
|
|
|
#add_file_dependencies( macro.c keymap.h avrcapsense.h )
|
|
|
|
|
|
|
|
|
2013-04-10 18:06:10 +00:00
|
|
|
###
|
|
|
|
# Module Specific Options
|
|
|
|
#
|
|
|
|
add_definitions( -I${HEAD_DIR}/Keymap )
|
|
|
|
|
|
|
|
#| Keymap Settings
|
|
|
|
add_definitions(
|
2013-04-14 02:35:59 +00:00
|
|
|
-DMODIFIER_MASK=avrcapsense_ModifierMask
|
|
|
|
#-DKEYINDEX_MASK=avrcapsense_ColemakMap
|
|
|
|
-DKEYINDEX_MASK=avrcapsense_DefaultMap
|
2013-04-10 18:06:10 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
# Compiler Family Compatibility
|
|
|
|
#
|
|
|
|
set( ScanModuleCompatibility
|
|
|
|
avr
|
|
|
|
)
|
|
|
|
|