]> git.donarmstrong.com Git - kiibohd-controller.git/commitdiff
Adding API update to the MicroSwitch8304 code.
authorJacob Alexander <triplehaata@gmail.com>
Tue, 15 Jan 2013 02:51:02 +0000 (21:51 -0500)
committerJacob Alexander <triplehaata@gmail.com>
Tue, 15 Jan 2013 02:51:02 +0000 (21:51 -0500)
- Should still work, but not tested

Scan/MicroSwitch8304/scan_loop.c
Scan/MicroSwitch8304/scan_loop.h

index b8e4594befcaa9f47357eb452ec57f923455df90..0f145cc172cd7739495cadbd2eb21c459123201e 100644 (file)
@@ -214,6 +214,11 @@ void scan_finishedWithBuffer( void )
        }
 }
 
+// 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
index 08b6883b4b6e927b4c9c87353c643d272c46c235..ef782b2c36936e1619ecefa989fd578d52d5a3aa 100644 (file)
@@ -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_loop( void );
 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 );