diff options
author | Drashna Jaelre <drashna@live.com> | 2018-10-01 08:09:57 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-10-01 11:09:57 -0400 |
commit | 3907ed034bec6730d8bff401ac632161540ea3cb (patch) | |
tree | 345edb48870809e447ac308375d9427892864c88 /keyboards/ymdk_np21/ymdk_np21.h | |
parent | 9d949389f92b6b397ed62246b60ead86d80a57a1 (diff) | |
download | firmware-3907ed034bec6730d8bff401ac632161540ea3cb.tar.gz firmware-3907ed034bec6730d8bff401ac632161540ea3cb.tar.bz2 firmware-3907ed034bec6730d8bff401ac632161540ea3cb.zip |
Fix YMDK NP21 keyboard to use proper keyboard level functions (#3042)
* Use proper function levels
* Add matrix init functions
* Convert KEYMAP to LAYOUT
Or @mechmerlin is going to hunt me down and harm me... probably :)
* Fix conflict issues
Diffstat (limited to 'keyboards/ymdk_np21/ymdk_np21.h')
-rw-r--r-- | keyboards/ymdk_np21/ymdk_np21.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/keyboards/ymdk_np21/ymdk_np21.h b/keyboards/ymdk_np21/ymdk_np21.h index babdc8483..728406d6e 100644 --- a/keyboards/ymdk_np21/ymdk_np21.h +++ b/keyboards/ymdk_np21/ymdk_np21.h @@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. void matrix_init_user(void); // TODO port this to other PS2AVRGB boards -#define KEYMAP_GRID( \ +#define LAYOUT( \ K01, K02, K03, K04, K05, K06, \ K11, K12, K13, K14, K15, K16, \ K21, K22, K23, K24, K25, K26, \ @@ -38,6 +38,4 @@ void matrix_init_user(void); // TODO port this to other PS2AVRGB boards { K36, K35, K34, K33, K32, K31 } \ } -#define KEYMAP KEYMAP_GRID - #endif |