view Scan/MBC-55X/setup.cmake @ 77:a977fbfdb7a5

MBC-55x support virtually complete. - I won't do any more, as I can't make the converter fully functional on a modern computer - Basic typing support is working - Some of the function modes move around the ASCII values, and this takes a while to decipher and figure out the pattern; it's not hard to do, and I don't really feel like doing it - The hard part is already done :P
author Jacob Alexander <triplehaata@gmail.com>
date Fri, 01 Feb 2013 16:49:32 -0500
parents 8a344117d851
children 8dab4014c398
line wrap: on
line source

###| CMake Kiibohd Controller Scan Module |###
#
# Written by Jacob Alexander in 2013 for the Kiibohd Controller
#
# Released into the Public Domain
#
# For the Sanyo MBC-55X Series of keyboards
#
###


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


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

#| Keymap Settings
add_definitions(
	-DMODIFIER_MASK=mbc55x_ModifierMask
	#-DKEYINDEX_MASK=mbc55x_ColemakMap
	-DKEYINDEX_MASK=mbc55x_DefaultMap
)


###
# Compiler Family Compatibility
#
set( ScanModuleCompatibility
	arm
	avr
)