]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/matrix/matrix.c
Formalizing code module structure and inheritance (Large Commit)
[kiibohd-controller.git] / Scan / matrix / matrix.c
index 8bf3f62aba2a6deb85428e3ae05fe4a9f4a98b0d..aa4af23367f03140e70c4a220680fea4447e379b 100644 (file)
  * THE SOFTWARE.
  */
 
+// ----- Includes -----
+
+// Local Includes
 #include "matrix.h"
 
+
+
+// ----- Macros -----
+
 #define REG_SET(reg)   reg |= (1 << ( matrix[row][col] % 10 ) )
                        
 #define PIN_SET_COL(pin) \
                        break
 
 
+
+// ----- Variables -----
+
+uint8_t KeyIndex_Array[KEYBOARD_SIZE + 1];
+
+
+
+// ----- Functions -----
+
 void matrix_pinSetup( uint8_t *matrix )
 {
        // Setup the variables