20b62afb9a
- Media keys tested working on Linux/Windows/Mac (use Consumer control) - Fixed enumeration delays - Fixed virtual serial port configuration issues - Fixed GET_REPORT and SET_REPORT - Added intial descriptors and endpoints for Mouse and Joystick devices - Split out the consumer and system control endpoint - Added more fault debugging messages - Added interface names to endpoints (visible in Windows Device Manager) - Added KLL define for keyboard locale
47 lines
656 B
CMake
47 lines
656 B
CMake
###| CMake Kiibohd Controller USB Module |###
|
|
#
|
|
# Written by Jacob Alexander in 2011-2015 for the Kiibohd Controller
|
|
#
|
|
# Released into the Public Domain
|
|
#
|
|
###
|
|
|
|
|
|
###
|
|
# Module C files
|
|
#
|
|
|
|
#| AVR Compiler
|
|
if ( ${COMPILER_FAMILY} MATCHES "avr" )
|
|
|
|
set ( Module_SRCS
|
|
output_com.c
|
|
avr/usb_keyboard_serial.c
|
|
)
|
|
|
|
#| ARM Compiler
|
|
elseif ( ${COMPILER_FAMILY} MATCHES "arm" )
|
|
|
|
set ( Module_SRCS
|
|
output_com.c
|
|
arm/usb_desc.c
|
|
arm/usb_dev.c
|
|
arm/usb_joystick.c
|
|
arm/usb_keyboard.c
|
|
arm/usb_mem.c
|
|
arm/usb_mouse.c
|
|
arm/usb_serial.c
|
|
)
|
|
|
|
endif ( ${COMPILER_FAMILY} MATCHES "avr" )
|
|
|
|
|
|
###
|
|
# Compiler Family Compatibility
|
|
#
|
|
set( ModuleCompatibility
|
|
arm
|
|
avr
|
|
)
|
|
|