Mercurial > louis > kiibohd-controller
diff Output/pjrcUSB/output_com.c @ 322:cc09f7e858bf
Adding None capability.
- Required for 0.3b update of the KLL compiler.
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sat, 02 May 2015 14:29:27 -0700 |
parents | a6bafeb5fecf |
children | 136e47478441 |
line wrap: on
line diff
--- a/Output/pjrcUSB/output_com.c Tue Apr 07 22:11:04 2015 -0700 +++ b/Output/pjrcUSB/output_com.c Sat May 02 14:29:27 2015 -0700 @@ -229,6 +229,21 @@ } +// Ignores the given key status update +// Used to prevent fall-through, this is the None keyword in KLL +void Output_noneSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ) +{ + // Display capability name + if ( stateType == 0xFF && state == 0xFF ) + { + print("Output_noneSend()"); + return; + } + + // Nothing to do, because that's the point :P +} + + // Sends a System Control code to the USB Output buffer void Output_sysCtrlSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ) {