Archived
1
0

Adding API changes introduced by the FACOM converter

- Shouldn't affect anything, and will allow for greater buffer clearing control
This commit is contained in:
Jacob Alexander 2013-01-20 22:36:05 -05:00
parent 65b4489884
commit f674db7de3
20 changed files with 40 additions and 40 deletions

View 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 )
{
}

View 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 );

View 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;

View 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 );

View 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 )
{
}

View 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 );

View 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 )
{
}

View 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 );

View 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 )
{
}

View 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 );

View 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;
}

View 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 );

View 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;
}

View 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 );

View 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 )
{
}

View 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 );

View 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;

View 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 );

View 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;
}

View 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 );