]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboard/planck/config.h
preonic
[qmk_firmware.git] / keyboard / planck / config.h
index 4ac9f766e62ff05cf2fff6e79b282abb86ca0e89..47cf39a903ce383dd4275a044c2ad227865d5532 100644 (file)
@@ -18,6 +18,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #ifndef CONFIG_H
 #define CONFIG_H
 
+#include "config_definitions.h"
 
 /* USB Device descriptor parameter */
 #define VENDOR_ID       0xFEED
@@ -31,6 +32,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define MATRIX_ROWS 4
 #define MATRIX_COLS 12
 
+/* Planck PCB default pin-out */
+#define COLS (int []){ F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 }
+#define ROWS (int []){ D0, D5, B5, B6 }
+
 /* define if matrix has ghost */
 //#define MATRIX_HAS_GHOST