summaryrefslogtreecommitdiff
path: root/keyboard/planck/config.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-08-21 10:46:53 -0400
committerJack Humbert <jack.humb@gmail.com>2015-08-21 10:46:53 -0400
commit04885a3b447c82437d919d467328800eb00af629 (patch)
treeaf1603f20b8d28aee533ccaaed7992ce29619a94 /keyboard/planck/config.h
parentfb4fe52c0a5be527e6c9bfa006a5fb3ea79b4b0e (diff)
preonic
Diffstat (limited to 'keyboard/planck/config.h')
-rw-r--r--keyboard/planck/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboard/planck/config.h b/keyboard/planck/config.h
index 4ac9f766e6..47cf39a903 100644
--- a/keyboard/planck/config.h
+++ b/keyboard/planck/config.h
@@ -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