]> git.donarmstrong.com Git - kiibohd-controller.git/commitdiff
Adding API changes introduced by the FACOM converter
authorJacob Alexander <triplehaata@gmail.com>
Mon, 21 Jan 2013 03:36:05 +0000 (22:36 -0500)
committerJacob Alexander <triplehaata@gmail.com>
Mon, 21 Jan 2013 03:36:05 +0000 (22:36 -0500)
- Shouldn't affect anything, and will allow for greater buffer clearing control

20 files changed:
Scan/BETKB/scan_loop.c
Scan/BETKB/scan_loop.h
Scan/EpsonQX-10/scan_loop.c
Scan/EpsonQX-10/scan_loop.h
Scan/HP150/scan_loop.c
Scan/HP150/scan_loop.h
Scan/Kaypro1/scan_loop.c
Scan/Kaypro1/scan_loop.h
Scan/MicroSwitch8304/scan_loop.c
Scan/MicroSwitch8304/scan_loop.h
Scan/SonyNEWS/scan_loop.c
Scan/SonyNEWS/scan_loop.h
Scan/SonyOA-S3400/scan_loop.c
Scan/SonyOA-S3400/scan_loop.h
Scan/Tandy1000/scan_loop.c
Scan/Tandy1000/scan_loop.h
Scan/UnivacF3W9/scan_loop.c
Scan/UnivacF3W9/scan_loop.h
Scan/matrix/scan_loop.c
Scan/matrix/scan_loop.h

index 1355f9aa38be197863aaa1f56e42028fc2cdd106..f473f6da1d166b02f483564d85a6a4210c0af421 100644 (file)
@@ -247,12 +247,12 @@ uint8_t scan_sendData( uint8_t dataPayload )
 }
 
 // Signal KeyIndex_Buffer that it has been properly read
-void scan_finishedWithBuffer( void )
+void scan_finishedWithBuffer( uint8_t sentKeys )
 {
 }
 
 // Signal that the keys have been properly sent over USB
-void scan_finishedWithUSBBuffer( void )
+void scan_finishedWithUSBBuffer( uint8_t sentKeys )
 {
 }
 
index 58438c64774886a0b61efd7787ba3ced0a3358f5..e49160636aaee2596df49ca8be9307bcd953898e 100644 (file)
@@ -56,8 +56,8 @@ uint8_t scan_loop( void );
 // Functions available to macro.c
 uint8_t scan_sendData( uint8_t dataPayload );
 
-void scan_finishedWithBuffer( void );
-void scan_finishedWithUSBBuffer( void );
+void scan_finishedWithBuffer( uint8_t sentKeys );
+void scan_finishedWithUSBBuffer( uint8_t sentKeys );
 void scan_lockKeyboard( void );
 void scan_unlockKeyboard( void );
 void scan_resetKeyboard( void );
index 8bbabf88ece87527ed43abfe25e69d4357a44aa0..9cd813bde237ff3de4a4810ae7b889317fa7ea65 100644 (file)
@@ -382,7 +382,7 @@ uint8_t scan_sendData( uint8_t dataPayload )
 }
 
 // Signal KeyIndex_Buffer that it has been properly read
-inline void scan_finishedWithBuffer( void )
+inline void scan_finishedWithBuffer( uint8_t sentKeys )
 {
        return;
 }
@@ -394,7 +394,7 @@ inline void scan_finishedWithBuffer( void )
 //
 // However, this differentiation causes complications on how the key signals are discarded and used
 // The single keypresses must be discarded immediately, while the modifiers must be kept
-inline void scan_finishedWithUSBBuffer( void )
+inline void scan_finishedWithUSBBuffer( uint8_t sentKeys )
 {
        uint8_t foundModifiers = 0;
 
index 4ce8c7e4f5ee7612be7af3224ca4ad1f695b8245..1e056266dcb1c58f4d8d42858272cc0254cea3b4 100644 (file)
@@ -55,8 +55,8 @@ uint8_t scan_loop( void );
 // Functions available to macro.c
 uint8_t scan_sendData( uint8_t dataPayload );
 
-void scan_finishedWithBuffer( void );
-void scan_finishedWithUSBBuffer( void );
+void scan_finishedWithBuffer( uint8_t sentKeys );
+void scan_finishedWithUSBBuffer( uint8_t sentKeys );
 void scan_lockKeyboard( void );
 void scan_unlockKeyboard( void );
 void scan_resetKeyboard( void );
index bfa0424112127a9c2803cd8a0b3d9ba07408ed7d..40ba111c47f2e640a90420d11dd24160036e17ab 100644 (file)
@@ -253,12 +253,12 @@ uint8_t scan_sendData( uint8_t dataPayload )
 }
 
 // Signal KeyIndex_Buffer that it has been properly read
-void scan_finishedWithBuffer( void )
+void scan_finishedWithBuffer( uint8_t sentKeys )
 {
 }
 
 // Signal that the keys have been properly sent over USB
-void scan_finishedWithUSBBuffer( void )
+void scan_finishedWithUSBBuffer( uint8_t sentKeys )
 {
 }
 
index 58438c64774886a0b61efd7787ba3ced0a3358f5..e49160636aaee2596df49ca8be9307bcd953898e 100644 (file)
@@ -56,8 +56,8 @@ uint8_t scan_loop( void );
 // Functions available to macro.c
 uint8_t scan_sendData( uint8_t dataPayload );
 
-void scan_finishedWithBuffer( void );
-void scan_finishedWithUSBBuffer( void );
+void scan_finishedWithBuffer( uint8_t sentKeys );
+void scan_finishedWithUSBBuffer( uint8_t sentKeys );
 void scan_lockKeyboard( void );
 void scan_unlockKeyboard( void );
 void scan_resetKeyboard( void );
index 19fb0f30d3a0f9389bc3902670e1860e139a482b..97d0318b97b02bd66b56076415ac77f03c1223ce 100644 (file)
@@ -282,12 +282,12 @@ uint8_t scan_sendData( uint8_t dataPayload )
 }
 
 // Signal KeyIndex_Buffer that it has been properly read
-void scan_finishedWithBuffer( void )
+void scan_finishedWithBuffer( uint8_t sentKeys )
 {
 }
 
 // Signal that the keys have been properly sent over USB
-void scan_finishedWithUSBBuffer( void )
+void scan_finishedWithUSBBuffer( uint8_t sentKeys )
 {
 }
 
index 41637d7ec238fedd0eb60d1ef399bbbc39ed0b55..661c2048efe5c6ed8f42b30a128c40a925742c50 100644 (file)
@@ -56,8 +56,8 @@ uint8_t scan_loop( void );
 // Functions available to macro.c
 uint8_t scan_sendData( uint8_t dataPayload );
 
-void scan_finishedWithBuffer( void );
-void scan_finishedWithUSBBuffer( void );
+void scan_finishedWithBuffer( uint8_t sentKeys );
+void scan_finishedWithUSBBuffer( uint8_t sentKeys );
 void scan_lockKeyboard( void );
 void scan_unlockKeyboard( void );
 void scan_resetKeyboard( void );
index 0f145cc172cd7739495cadbd2eb21c459123201e..fdacb6cb24e55c9dc9ac35e056a7b64c4b12e3bb 100644 (file)
@@ -204,7 +204,7 @@ uint8_t scan_sendData( uint8_t dataPayload )
 
 // Signal KeyIndex_Buffer that it has been properly read
 // In the case of the Micro Switch 8304, we leave the buffer alone until more scancode data comes in
-void scan_finishedWithBuffer( void )
+void scan_finishedWithBuffer( uint8_t sentKeys )
 {
        // We received a Clear code from the 8304, clear the buffer now that we've used it
        if ( BufferReadyToClear )
@@ -215,7 +215,7 @@ void scan_finishedWithBuffer( void )
 }
 
 // Signal that the keys have been properly sent over USB
-void scan_finishedWithUSBBuffer( void )
+void scan_finishedWithUSBBuffer( uint8_t sentKeys )
 {
 }
 
index ef782b2c36936e1619ecefa989fd578d52d5a3aa..0a46ffa7940264783a3a5dec727bdffe4152e1ef 100644 (file)
@@ -56,8 +56,8 @@ uint8_t scan_loop( void );
 // Functions available to macro.c
 uint8_t scan_sendData( uint8_t dataPayload );
 
-void scan_finishedWithBuffer( void );
-void scan_finishedWithUSBBuffer( void );
+void scan_finishedWithBuffer( uint8_t sentKeys );
+void scan_finishedWithUSBBuffer( uint8_t sentKeys );
 void scan_lockKeyboard( void );
 void scan_unlockKeyboard( void );
 void scan_resetKeyboard( void );
index ca4d0bbb33716c9974e5871b43247d9f94a678bb..6cab58a2ab347958615a8c10161743daf35ad225 100644 (file)
@@ -208,7 +208,7 @@ uint8_t scan_sendData( uint8_t dataPayload )
 
 // Signal KeyIndex_Buffer that it has been properly read
 // Not needed as a signal is sent to remove key-presses
-void scan_finishedWithBuffer( void )
+void scan_finishedWithBuffer( uint8_t sentKeys )
 {
        return;
 }
@@ -230,7 +230,7 @@ void scan_resetKeyboard( void )
        KeyIndex_BufferUsed = 0;
 }
 
-void scan_finishedWithUSBBuffer( void )
+void scan_finishedWithUSBBuffer( uint8_t sentKeys )
 {
        return;
 }
index f3b14666b4ed7d00ed96ead206d3f572f55b33e0..1e056266dcb1c58f4d8d42858272cc0254cea3b4 100644 (file)
@@ -55,8 +55,8 @@ uint8_t scan_loop( void );
 // Functions available to macro.c
 uint8_t scan_sendData( uint8_t dataPayload );
 
-void scan_finishedWithUSBBuffer( void );
-void scan_finishedWithBuffer( void );
+void scan_finishedWithBuffer( uint8_t sentKeys );
+void scan_finishedWithUSBBuffer( uint8_t sentKeys );
 void scan_lockKeyboard( void );
 void scan_unlockKeyboard( void );
 void scan_resetKeyboard( void );
index dda9b28e4688f2c5adec02a89a6fa4bdf0169209..c7dd71b1d4eccb662916d5c828c02b7fa71618a5 100644 (file)
@@ -519,7 +519,7 @@ uint8_t scan_sendData( uint8_t dataPayload )
 
 // Signal KeyIndex_Buffer that it has been properly read
 // Not needed as a signal is sent to remove key-presses
-void scan_finishedWithBuffer( void )
+void scan_finishedWithBuffer( uint8_t sentKeys )
 {
        return;
 }
@@ -551,7 +551,7 @@ void scan_resetKeyboard( void )
 
 // USB module is finished with buffer
 // Not needed as a signal is sent to remove key-presses
-void scan_finishedWithUSBBuffer( void )
+void scan_finishedWithUSBBuffer( uint8_t sentKeys )
 {
        return;
 }
index 41412b221a86e6fb8d051c73fa8a58fc702b7cd6..7d7f309669382d919da86dc8939e077cee1c717f 100644 (file)
@@ -56,8 +56,8 @@ uint8_t scan_loop( void );
 // Functions available to macro.c
 uint8_t scan_sendData( uint8_t dataPayload );
 
-void scan_finishedWithUSBBuffer( void );
-void scan_finishedWithBuffer( void );
+void scan_finishedWithBuffer( uint8_t sentKeys );
+void scan_finishedWithUSBBuffer( uint8_t sentKeys );
 void scan_lockKeyboard( void );
 void scan_unlockKeyboard( void );
 void scan_resetKeyboard( void );
index c6eed86d9c347a111dab09bfbbf98230a5b27377..a906b1392ef1a02de0954736fe4528d679b8ea76 100644 (file)
@@ -232,12 +232,12 @@ uint8_t scan_sendData( uint8_t dataPayload )
 
 // Signal KeyIndex_Buffer that it has been properly read
 // TODO
-void scan_finishedWithBuffer( void )
+void scan_finishedWithBuffer( uint8_t sentKeys )
 {
 }
 
 // Signal that the keys have been properly sent over USB
-void scan_finishedWithUSBBuffer( void )
+void scan_finishedWithUSBBuffer( uint8_t sentKeys )
 {
 }
 
index f185b4ce1ceaa3335eeb9de44b7970c782e7b487..911960a92ce29bcb05d3f42dd6e0623731c5fa42 100644 (file)
@@ -56,8 +56,8 @@ uint8_t scan_loop( void );
 // Functions available to macro.c
 uint8_t scan_sendData( uint8_t dataPayload );
 
-void scan_finishedWithBuffer( void );
-void scan_finishedWithUSBBuffer( void );
+void scan_finishedWithBuffer( uint8_t sentKeys );
+void scan_finishedWithUSBBuffer( uint8_t sentKeys );
 void scan_lockKeyboard( void );
 void scan_unlockKeyboard( void );
 void scan_resetKeyboard( void );
index 1ee44438465348a700a6e1644066f5cd49d2c92e..cb417a68067ca65fe9b54ca39cad45eadbd1c256 100644 (file)
@@ -323,14 +323,14 @@ uint8_t scan_sendData( uint8_t dataPayload )
 }
 
 // Signal KeyIndex_Buffer that it has been properly read
-inline void scan_finishedWithBuffer( void )
+inline void scan_finishedWithBuffer( uint8_t sentKeys )
 {
        return;
 }
 
 // Signal that the keys have been properly sent over USB
 // TODO
-inline void scan_finishedWithUSBBuffer( void )
+inline void scan_finishedWithUSBBuffer( uint8_t sentKeys )
 {
        /*
        uint8_t foundModifiers = 0;
index 00f318fd9936a3c48bf821f3b4a84a1d215bff2c..8f2e69e1a1ae9a10e3936afc995e8c52d32cf7d8 100644 (file)
@@ -55,8 +55,8 @@ uint8_t scan_loop( void );
 // Functions available to macro.c
 uint8_t scan_sendData( uint8_t dataPayload );
 
-void scan_finishedWithBuffer( void );
-void scan_finishedWithUSBBuffer( void );
+void scan_finishedWithBuffer( uint8_t sentKeys );
+void scan_finishedWithUSBBuffer( uint8_t sentKeys );
 void scan_lockKeyboard( void );
 void scan_unlockKeyboard( void );
 void scan_resetKeyboard( void );
index f385295eab89802a33675162f628184a7d091039..1b3912de8b535bc1885a04acc2c153ba50559db8 100644 (file)
@@ -161,14 +161,14 @@ inline uint8_t scan_loop()
 
 
 // Signal that the keys have been properly sent over USB
-inline void scan_finishedWithUSBBuffer( void )
+inline void scan_finishedWithUSBBuffer( uint8_t sentKeys )
 {
        return;
 }
 
 
 // Signal KeyIndex_Buffer that it has been fully scanned using the macro module
-inline void scan_finishedWithBuffer( void )
+inline void scan_finishedWithBuffer( uint8_t sentKeys )
 {
        return;
 }
index eaff7a08eef79f8868d305768f0606fc6bf01bda..c0f7aa31da6bb67a73e3515f823d5c23f88840ff 100644 (file)
@@ -63,8 +63,8 @@ uint8_t scan_loop( void );
 // Functions available to macro.c
 uint8_t scan_sendData( uint8_t dataPayload );
 
-void scan_finishedWithBuffer( void );
-void scan_finishedWithUSBBuffer( void );
+void scan_finishedWithBuffer( uint8_t sentKeys );
+void scan_finishedWithUSBBuffer( uint8_t sentKeys );
 void scan_lockKeyboard( void );
 void scan_unlockKeyboard( void );
 void scan_resetKeyboard( void );