Initial commit for UARTConnect module
* Keyboard interconnect using two uarts * Supports daisy chain addressing using a master/slave direction communication scheme - Still needs more testing - Functions have been tested alone to be generally working
This commit is contained in:
parent
aeaaaaa468
commit
ed71f7fad5
9 changed files with 1108 additions and 4 deletions
|
@ -393,6 +393,16 @@ nat_ptr_t *Macro_layerLookup( TriggerGuide *guide, uint8_t latch_expire )
|
|||
}
|
||||
|
||||
|
||||
// Update the scancode using a list of TriggerGuides
|
||||
// TODO Handle led state and analog
|
||||
inline void Macro_triggerState( void *triggers, uint8_t num )
|
||||
{
|
||||
// Copy each of the TriggerGuides to the TriggerListBuffer
|
||||
for ( uint8_t c = 0; c < num; c++ )
|
||||
macroTriggerListBuffer[ macroTriggerListBufferSize++ ] = ((TriggerGuide*)triggers)[ c ];
|
||||
}
|
||||
|
||||
|
||||
// Update the scancode key state
|
||||
// States:
|
||||
// * 0x00 - Off
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue