]> git.donarmstrong.com Git - kiibohd-controller.git/blob - Scan/BudKeypad/setup.cmake
Making sub-modules of matrix for HeathZenith and BudKeypad
[kiibohd-controller.git] / Scan / BudKeypad / setup.cmake
1 ###| CMake Kiibohd Controller Scan Module |###
2 #
3 # Written by Jacob Alexander in 2011 for the Kiibohd Controller
4 #
5 # Released into the Public Domain
6 #
7 ###
8
9
10 ###
11 # Module C files
12 #
13
14 #| XXX Requires the ../ due to how the paths are constructed
15 set( SCAN_SRCS
16         ../matrix/matrix_scan.c
17         ../matrix/scan_loop.c
18 )
19
20
21 ###
22 # Module Specific Options
23 #
24 add_definitions( -I${HEAD_DIR}/Keymap )
25 add_definitions(
26         -I${HEAD_DIR}/Scan/matrix
27 )       
28
29 #| Keymap Settings
30 add_definitions(
31         -DMODIFIER_MASK=budkeypad_ModifierMask
32         #-DKEYINDEX_MASK=budkeypad_TheProfosistMap
33         -DKEYINDEX_MASK=budkeypad_DefaultMap
34 )
35