]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/MD1/matrix.h
Moving MatrixARM header macros to separate file
[kiibohd-controller.git] / Scan / MD1 / matrix.h
index 7241e0e896e50d71c495c149cec0152e763e503d..55cc06845c28c93dd8bde5d95f5e2e48f51e5c26 100644 (file)
 #ifndef __MATRIX_H
 #define __MATRIX_H
 
-// ----- Macros -----
+// ----- Includes -----
 
-// Convenience Macros
-#define gpio( port, pin ) { Port_##port, Pin_##pin }
-#define Matrix_colsNum sizeof( Matrix_cols ) / sizeof( GPIO_Pin )
-#define Matrix_rowsNum sizeof( Matrix_rows ) / sizeof( GPIO_Pin )
-#define Matrix_maxKeys sizeof( Matrix_scanArray ) / sizeof( KeyState )
+// Project Includes
+#include <matrix_setup.h>