changeset 61:fed6681dc35f

Adding API update to the MicroSwitch8304 code. - Should still work, but not tested
author Jacob Alexander <triplehaata@gmail.com>
date Mon, 14 Jan 2013 21:51:02 -0500
parents 8ae6c6f206db
children 685619eb3412
files Scan/MicroSwitch8304/scan_loop.c Scan/MicroSwitch8304/scan_loop.h
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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 );