This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2012-11-15 09:28:31 +00:00
|
|
|
###| CMake Kiibohd Controller Scan Module |###
|
|
|
|
#
|
|
|
|
# Written by Jacob Alexander in 2012 for the Kiibohd Controller
|
|
|
|
#
|
|
|
|
# Released into the Public Domain
|
|
|
|
#
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
# Module C files
|
|
|
|
#
|
|
|
|
|
|
|
|
#| XXX Requires the ../ due to how the paths are constructed
|
|
|
|
set( SCAN_SRCS
|
|
|
|
../matrix/matrix_scan.c
|
|
|
|
../matrix/scan_loop.c
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
# Module Specific Options
|
|
|
|
#
|
|
|
|
add_definitions( -I${HEAD_DIR}/Keymap )
|
|
|
|
add_definitions(
|
|
|
|
-I${HEAD_DIR}/Scan/matrix
|
|
|
|
)
|
|
|
|
|
|
|
|
#| Keymap Settings
|
|
|
|
add_definitions(
|
|
|
|
-DMODIFIER_MASK=ibmconv_ModifierMask
|
|
|
|
#-DKEYINDEX_MASK=ibmconv_DefaultMap
|
|
|
|
-DKEYINDEX_MASK=ibmconv_ColemakMap
|
|
|
|
)
|
|
|
|
|
2013-01-30 23:13:49 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
# Compiler Family Compatibility
|
|
|
|
#
|
|
|
|
set( ScanModuleCompatibility
|
|
|
|
avr
|
|
|
|
)
|
|
|
|
|