Adding API update to the MicroSwitch8304 code.
- Should still work, but not tested
This commit is contained in:
		
							parent
							
								
									6b3ba17f57
								
							
						
					
					
						commit
						ccf1e1c7e5
					
				
					 2 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 );
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue