From 09ee7da6deb50a3ff5f808cc47daebe94f5a3f3a Mon Sep 17 00:00:00 2001 From: Maarten Dekkers Date: Sat, 19 Jan 2019 23:29:15 +0100 Subject: Add Plain60 support (#4887) * Add Plain60 support * Delete info.json * Remove definition of KC_TRNS in keymap * Add spaces for proper markdown to readme.md --- keyboards/plain60/plain60.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 keyboards/plain60/plain60.h (limited to 'keyboards/plain60/plain60.h') diff --git a/keyboards/plain60/plain60.h b/keyboards/plain60/plain60.h new file mode 100644 index 0000000000..01a6216a74 --- /dev/null +++ b/keyboards/plain60/plain60.h @@ -0,0 +1,29 @@ +#pragma once + +#ifndef PLAIN60_H +#define PLAIN60_H + +#include "quantum.h" + +// readability +#define XXX KC_NO + +#define LAYOUT( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ + k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \ + k40, k41, k42, k46, k4a, k4b, k4c, k4d \ +) \ +{ \ + {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e}, \ + {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, XXX}, \ + {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, XXX}, \ + {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, XXX}, \ + {k40, k41, k42, XXX, XXX, XXX, k46, XXX, XXX, XXX, k4a, k4b, k4c, k4d, XXX} \ +} + +void matrix_init_user(void); +void matrix_scan_user(void); + +#endif -- cgit v1.2.3