]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/avr-capsense/setup.cmake
Adapting the avr-capsense code to the Kiibohd Controller API
[kiibohd-controller.git] / Scan / avr-capsense / setup.cmake
old mode 100755 (executable)
new mode 100644 (file)
index bf516c2..ca7c719
@@ -1,6 +1,6 @@
 ###| CMake Kiibohd Controller Scan Module |###
 #
-# Written by Jacob Alexander in 2011 for the Kiibohd Controller
+# Written by Jacob Alexander in 2013 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
+       scan_loop.c
 )
 
 
+###
+# 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 )
+
+
 ###
 # Module Specific Options
 #
 add_definitions( -I${HEAD_DIR}/Keymap )
-add_definitions(
-       -I${HEAD_DIR}/Scan/matrix
-)      
 
 #| Keymap Settings
 add_definitions(
-       -DMODIFIER_MASK=budkeypad_ModifierMask
-       #-DKEYINDEX_MASK=budkeypad_TheProfosistMap
-       -DKEYINDEX_MASK=budkeypad_DefaultMap
+       -DMODIFIER_MASK=avrcapsense_ModifierMask
+       #-DKEYINDEX_MASK=avrcapsense_ColemakMap
+       -DKEYINDEX_MASK=avrcapsense_DefaultMap
 )