]> git.donarmstrong.com Git - kiibohd-controller.git/blob - Scan/SonyOA-S3400/setup.cmake
Adding initial version of Sony OA-S3400 converter.
[kiibohd-controller.git] / Scan / SonyOA-S3400 / setup.cmake
1 ###| CMake Kiibohd Controller Scan Module |###
2 #
3 # Written by Jacob Alexander in 2012 for the Kiibohd Controller
4 #
5 # Released into the Public Domain
6 #
7 # For the Sony Word Processor OA-S3400 keyboard
8 #
9 ###
10
11
12 ###
13 # Module C files
14 #
15
16 set( SCAN_SRCS
17         scan_loop.c
18 )
19
20
21 ###
22 # Module H files
23 #
24 set( SCAN_HDRS
25         scan_loop.h
26 )
27
28
29 ###
30 # File Dependency Setup
31 #
32 ADD_FILE_DEPENDENCIES( scan_loop.c ${SCAN_HDRS} )
33 #add_file_dependencies( scan_loop.c ${SCAN_HDRS} )
34
35
36 ###
37 # Module Specific Options
38 #
39 add_definitions( -I${HEAD_DIR}/Keymap )
40
41 #| Keymap Settings
42 add_definitions(
43         -DMODIFIER_MASK=sonyoas3400_ModifierMask
44         #-DKEYINDEX_MASK=sonyoas3400_ColemakMap
45         -DKEYINDEX_MASK=sonyoas3400_DefaultMap
46 )
47