2011-09-28 23:25:51 -07:00
|
|
|
###| CMake Kiibohd Controller Scan Module |###
|
|
|
|
#
|
2014-04-06 11:49:27 -07:00
|
|
|
# Written by Jacob Alexander in 2011,2014 for the Kiibohd Controller
|
2011-09-28 23:25:51 -07:00
|
|
|
#
|
|
|
|
# Released into the Public Domain
|
|
|
|
#
|
|
|
|
###
|
|
|
|
|
2011-10-16 21:38:56 -07: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-28 23:25:51 -07:00
|
|
|
|
|
|
|
###
|
|
|
|
# Module C files
|
|
|
|
#
|
|
|
|
|
|
|
|
set( SCAN_SRCS
|
2011-10-15 20:01:46 -07:00
|
|
|
matrix_scan.c
|
2011-09-28 23:25:51 -07:00
|
|
|
scan_loop.c
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
###
|
2011-09-29 15:30:24 -07:00
|
|
|
# Module Specific Options
|
2011-09-28 23:25:51 -07:00
|
|
|
#
|
2011-10-15 20:01:46 -07:00
|
|
|
|
2013-01-30 18:13:49 -05:00
|
|
|
|
|
|
|
###
|
|
|
|
# Compiler Family Compatibility
|
|
|
|
#
|
|
|
|
set( ScanModuleCompatibility
|
|
|
|
avr
|
|
|
|
)
|
|
|
|
|