view Scan/SonyOA-S3400/setup.cmake @ 50:ff4ae9501930

Adding initial version of Sony OA-S3400 converter. - Not fully reading for usage, but 90% of the way there for typing. - Some soldering is required for 2 keys to work properly (Shift and Shift Lock) - Even when complete, be careful when doing multiple key combos, as the key buffer is only cleared when all general keys are released (all except Shift, Shift Lock, and Code)
author Jacob Alexander <triplehaata@gmail.com>
date Mon, 07 May 2012 02:32:56 -0400
parents
children 0b0816a6002d
line wrap: on
line source

###| CMake Kiibohd Controller Scan Module |###
#
# Written by Jacob Alexander in 2012 for the Kiibohd Controller
#
# Released into the Public Domain
#
# For the Sony Word Processor OA-S3400 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} )


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

#| Keymap Settings
add_definitions(
	-DMODIFIER_MASK=sonyoas3400_ModifierMask
	#-DKEYINDEX_MASK=sonyoas3400_ColemakMap
	-DKEYINDEX_MASK=sonyoas3400_DefaultMap
)