]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/Tandy1000/scan_loop.c
Commenting out Tandy1000 code to make compile.
[kiibohd-controller.git] / Scan / Tandy1000 / scan_loop.c
index a44e789389c4ee36d941e72108d4e9fc6d8cfa51..c6eed86d9c347a111dab09bfbbf98230a5b27377 100644 (file)
@@ -152,6 +152,8 @@ inline uint8_t scan_loop()
        // Disable keyboard interrupt (does nothing if already off)
        UNSET_INTR();
 
+       /* XXX OLD CODE - Somewhat worked, has glitches, and is not compatible with the current API
+
        // Read the clock 8 times
        if ( READ_CLK )
        {
@@ -213,6 +215,8 @@ inline uint8_t scan_loop()
                while ( READ_CLK );
        }
 
+       */
+
        // Interrupt keyboard if there is no pending packet
        SET_INTR();
 
@@ -232,6 +236,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 Tandy 1000 keyboard has a dedicated hold/processor interrupt line