]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/SonyNEWS/setup.cmake
Intial commit of the SonyNEWS scan module
[kiibohd-controller.git] / Scan / SonyNEWS / setup.cmake
diff --git a/Scan/SonyNEWS/setup.cmake b/Scan/SonyNEWS/setup.cmake
new file mode 100644 (file)
index 0000000..ffc3384
--- /dev/null
@@ -0,0 +1,48 @@
+###| CMake Kiibohd Controller Scan Module |###
+#
+# Written by Jacob Alexander in 2011 for the Kiibohd Controller
+#
+# Released into the Public Domain
+#
+# For the Sony NEWS Topre Keyboard
+#
+###
+
+
+###
+# Module C files
+#
+
+set( SCAN_SRCS
+       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 sonynews.h )
+
+
+###
+# Module Specific Options
+#
+add_definitions( -I${HEAD_DIR}/Keymap )
+
+#| Keymap Settings
+add_definitions(
+       -DMODIFIER_MASK=sonynews_ModifierMask
+       -DKEYINDEX_MASK=sonynews_ColemakMap
+       #-DKEYINDEX_MASK=sonynews_DefaultMap
+)
+