2011-09-29 06:25:51 +00:00
|
|
|
###| CMake Kiibohd Controller Scan Module |###
|
|
|
|
#
|
2014-04-06 18:49:27 +00:00
|
|
|
# Written by Jacob Alexander in 2011,2014 for the Kiibohd Controller
|
2011-09-29 06:25:51 +00:00
|
|
|
#
|
|
|
|
# Released into the Public Domain
|
|
|
|
#
|
|
|
|
###
|
|
|
|
|
2011-10-17 04:38:56 +00:00
|
|
|
###
|
|
|
|
# Warning, that this module is not meant to be built stand-alone
|
|
|
|
#
|
|
|
|
message( FATAL_ERROR
|
|
|
|
"The 'matrix' module is not a stand-alone module, and requires further setup.
|
|
|
|
See BudKeypad module for as an example module."
|
|
|
|
)
|
2011-09-29 06:25:51 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
# Module C files
|
|
|
|
#
|
|
|
|
|
|
|
|
set( SCAN_SRCS
|
2011-10-16 03:01:46 +00:00
|
|
|
matrix_scan.c
|
2011-09-29 06:25:51 +00:00
|
|
|
scan_loop.c
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
###
|
2011-09-29 22:30:24 +00:00
|
|
|
# Module Specific Options
|
2011-09-29 06:25:51 +00:00
|
|
|
#
|
2011-10-16 03:01:46 +00:00
|
|
|
|
2013-01-30 23:13:49 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
# Compiler Family Compatibility
|
|
|
|
#
|
|
|
|
set( ScanModuleCompatibility
|
|
|
|
avr
|
|
|
|
)
|
|
|
|
|