###| CMAKE Kiibohd Controller Source Configurator |###
#
-# Written by Jacob Alexander in 2011 for the Kiibohd Controller
+# Written by Jacob Alexander in 2011-2012 for the Kiibohd Controller
#
# Released into the Public Domain
#
#| Please the {Scan,Macro,USB,Debug}/module.txt for information on the modules and how to create new ones
##| Deals with acquiring the keypress information and turning it into a key index
-set( ScanModule "matrix" )
+set( ScanModule "BETKB" )
##| Uses the key index and potentially applies special conditions to it, mapping it to a usb key code
-set( MacroModule "basic" )
+set( MacroModule "buffer" )
##| Sends the current list of usb key codes through USB HID
set( USBModule "pjrc" )
##| Debugging source to use, each module has it's own set of defines that it sets
-set( DebugModule "basic" )
+set( DebugModule "full" )
# Loop through items
foreach( item ${ARGN} )
+ # Set the path
set( tmpSource ${tmpSource} "${SourcesPath}/${item}" )
endforeach( item )
#| Print list of all module sources
-message( STATUS "Detected Scan Module Source Files: \n${SCAN_SRCS}")
-message( STATUS "Detected Macro Module Source Files:\n${MACRO_SRCS}")
-message( STATUS "Detected USB Module Source Files: \n${USB_SRCS}")
-message( STATUS "Detected Debug Module Source Files:\n${DEBUG_SRCS}")
+message( STATUS "Detected Scan Module Source Files:" )
+message( "${SCAN_SRCS}" )
+message( STATUS "Detected Macro Module Source Files:" )
+message( "${MACRO_SRCS}" )
+message( STATUS "Detected USB Module Source Files:" )
+message( "${USB_SRCS}" )
+message( STATUS "Detected Debug Module Source Files:" )
+message( "${DEBUG_SRCS}" )