Mercurial > louis > kiibohd-controller
diff Output/usbMuxUart/output_com.h @ 340:e8841d3c6db5
mk20dx256vlh7 working!
- Interrupt vector table position fix (affected everything in the firmware)
- Added fault debug messages
- Fixed usbMuxUart
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sat, 13 Jun 2015 20:42:12 -0700 |
parents | 7119c2149abb |
children |
line wrap: on
line diff
--- a/Output/usbMuxUart/output_com.h Tue Jun 09 10:02:05 2015 -0700 +++ b/Output/usbMuxUart/output_com.h Sat Jun 13 20:42:12 2015 -0700 @@ -36,7 +36,7 @@ // Max size of key buffer needed for NKRO // Boot mode uses only the first 6 bytes -#define USB_NKRO_BITFIELD_SIZE_KEYS 26 +#define USB_NKRO_BITFIELD_SIZE_KEYS 27 #define USB_BOOT_MAX_KEYS 6 @@ -51,9 +51,10 @@ USBKeyChangeState_MainKeys = 0x02, USBKeyChangeState_SecondaryKeys = 0x04, USBKeyChangeState_TertiaryKeys = 0x08, - USBKeyChangeState_System = 0x10, - USBKeyChangeState_Consumer = 0x20, - USBKeyChangeState_All = 0x3F, + USBKeyChangeState_QuartiaryKeys = 0x10, + USBKeyChangeState_System = 0x20, + USBKeyChangeState_Consumer = 0x40, + USBKeyChangeState_All = 0x7F, } USBKeyChangeState; @@ -87,6 +88,7 @@ // ----- Capabilities ----- void Output_consCtrlSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ); +void Output_noneSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ); void Output_sysCtrlSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ); void Output_usbCodeSend_capability( uint8_t state, uint8_t stateType, uint8_t *args );