]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/matrix/scan_loop.h
Merge remote-tracking branch 'upstream/master'
[kiibohd-controller.git] / Scan / matrix / scan_loop.h
index 52591545665d7595ab0c794e6dff6430867bf355..89e568850f1e1391b6f977a2e814df088329400c 100644 (file)
@@ -46,7 +46,7 @@
 // NOTE: Highest Bit: Valid keypress (0x80 is valid keypress)
 //        Other Bits: Pressed state sample counter
 extern                       uint8_t KeyIndex_Array [KEYBOARD_KEYS + 1];
-                static const uint8_t KeyIndex_Size = KEYBOARD_KEYS;
+               static const uint8_t KeyIndex_Size = KEYBOARD_KEYS;
 
 extern volatile              uint8_t KeyIndex_Buffer[KEYBOARD_BUFFER];
 extern volatile              uint8_t KeyIndex_BufferUsed;
@@ -56,18 +56,12 @@ extern volatile     uint8_t KeyIndex_Add_InputSignal;
 
 // ----- Functions -----
 
-void scan_setup( void );
-uint8_t scan_loop( void );
+void    Scan_setup( void );
+uint8_t Scan_loop( void );
 
-
-// Functions available to macro.c
-uint8_t scan_sendData( uint8_t dataPayload );
-
-void scan_finishedWithBuffer( uint8_t sentKeys );
-void scan_finishedWithUSBBuffer( uint8_t sentKeys );
-void scan_lockKeyboard( void );
-void scan_unlockKeyboard( void );
-void scan_resetKeyboard( void );
+// Callbacks from the Macro and Output modules (useful with difficult protocols)
+void Scan_finishedWithBuffer( uint8_t sentKeys );
+void Scan_finishedWithUSBBuffer( uint8_t sentKeys );
 
 
 #endif // __SCAN_LOOP_H