]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/matrix/setup.cmake
Making sub-modules of matrix for HeathZenith and BudKeypad
[kiibohd-controller.git] / Scan / matrix / setup.cmake
index e7e52af84e78bee3092a36b48059e95ed5207bc8..38d6d1db1ef2467dda35f9cfafe65b96a739a0cb 100644 (file)
@@ -6,6 +6,13 @@
 #
 ###
 
+###
+# 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."
+)
 
 ###
 # Module C files
@@ -22,10 +29,8 @@ set( SCAN_SRCS
 #
 add_definitions( -I${HEAD_DIR}/Keymap )
 
-#| Keymap Settings
 add_definitions(
-       -DMODIFIER_MASK=budkeypad_ModifierMask
-       #-DKEYINDEX_MASK=budkeypad_TheProfosistMap
-       -DKEYINDEX_MASK=budkeypad_DefaultMap
+       #-DMODIFIER_MASK=
+       #-DKEYINDEX_MASK=
 )