view Scan/HP150/setup.cmake @ 53:c6fdd7005ea0

Adding initial HP150 and IBMConvertible scan modules. - HP150 is not ready - IBMConvertible is ready to start testing
author Jacob Alexander <triplehaata@gmail.com>
date Thu, 15 Nov 2012 01:28:31 -0800
parents
children 613743bf5bdd
line wrap: on
line source

###| CMake Kiibohd Controller Scan Module |###
#
# Written by Jacob Alexander in 2011 for the Kiibohd Controller
#
# Released into the Public Domain
#
# For the HP150 Keyboard (Fujitsu Leaf Spring)
#
###


###
# 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 microswitch8304.h )


###
# Module Specific Options
#
add_definitions( -I${HEAD_DIR}/Keymap )

#| Keymap Settings
add_definitions(
	-DMODIFIER_MASK=hp150_ModifierMask
	#-DKEYINDEX_MASK=hp150_ColemakMap
	-DKEYINDEX_MASK=hp150_DefaultMap
)