diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-08-21 23:14:48 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-08-21 23:14:48 -0400 |
commit | 476e29d1190ac45b810109512bbb50cc4769493b (patch) | |
tree | 1d493bae3b0ae91a6202918aa1bf53fb0da936fa /keyboard/planck/config.h | |
parent | 2d76b5c3d421c984f6b4b9da757383cc87e3f808 (diff) | |
parent | b191f8c60fbbaf1fb55d67edb86a6c33489b2ce3 (diff) |
Merge pull request #26 from jackhumbert/midi
Midi
Diffstat (limited to 'keyboard/planck/config.h')
-rw-r--r-- | keyboard/planck/config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/keyboard/planck/config.h b/keyboard/planck/config.h index 7e95afddea..47cf39a903 100644 --- a/keyboard/planck/config.h +++ b/keyboard/planck/config.h @@ -18,19 +18,24 @@ 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 #define PRODUCT_ID 0x6060 #define DEVICE_VER 0x0001 #define MANUFACTURER Ortholinear Keyboards -#define PRODUCT Planck +#define PRODUCT The Planck Keyboard #define DESCRIPTION A compact ortholinear keyboard /* key matrix size */ #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 |