# HG changeset patch # User Jacob Alexander # Date 1358218262 18000 # Node ID fed6681dc35fc65ca036ad0c6dd0a3be4a55aebf # Parent 8ae6c6f206db923b1945154feb59fa903e8c4321 Adding API update to the MicroSwitch8304 code. - Should still work, but not tested diff -r 8ae6c6f206db -r fed6681dc35f Scan/MicroSwitch8304/scan_loop.c --- a/Scan/MicroSwitch8304/scan_loop.c Mon Jan 14 21:48:21 2013 -0500 +++ b/Scan/MicroSwitch8304/scan_loop.c Mon Jan 14 21:51:02 2013 -0500 @@ -214,6 +214,11 @@ } } +// Signal that the keys have been properly sent over USB +void scan_finishedWithUSBBuffer( void ) +{ +} + // Reset/Hold keyboard // Warning! This will cause the keyboard to not send any data, so you can't disable with a keypress // The Micro Switch 8304 has a dedicated reset line diff -r 8ae6c6f206db -r fed6681dc35f Scan/MicroSwitch8304/scan_loop.h --- a/Scan/MicroSwitch8304/scan_loop.h Mon Jan 14 21:48:21 2013 -0500 +++ b/Scan/MicroSwitch8304/scan_loop.h Mon Jan 14 21:51:02 2013 -0500 @@ -42,6 +42,7 @@ extern volatile uint8_t KeyIndex_Buffer[KEYBOARD_BUFFER]; extern volatile uint8_t KeyIndex_BufferUsed; +extern volatile uint8_t KeyIndex_Add_InputSignal; @@ -56,6 +57,7 @@ uint8_t scan_sendData( uint8_t dataPayload ); void scan_finishedWithBuffer( void ); +void scan_finishedWithUSBBuffer( void ); void scan_lockKeyboard( void ); void scan_unlockKeyboard( void ); void scan_resetKeyboard( void );