From 4cfd1e30fc320dee84840b7af9ed474a6afcfaa6 Mon Sep 17 00:00:00 2001 From: MechMerlin <30334081+mechmerlin@users.noreply.github.com> Date: Wed, 11 Apr 2018 15:10:55 -0700 Subject: More QMK Configurator Warning/Error Fixes (#2720) * Add readme with brief description Change KEYMAP to LAYOUT * Add readme.md with brief description Use LAYOUT macro * add a readme.md file * Add readme.md with brief description Use LAYOUT macro * Add readme.md with brief description Use LAYOUT macro * Fix "Warning: contra: Missing layout pp macro for ['planck_mit', 'planck_grid']", * Use LAYOUT macro --- keyboards/handwired/numpad20/keymaps/default/keymap.c | 2 +- keyboards/handwired/numpad20/numpad20.h | 2 +- keyboards/handwired/numpad20/readme.md | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 keyboards/handwired/numpad20/readme.md (limited to 'keyboards/handwired/numpad20') diff --git a/keyboards/handwired/numpad20/keymaps/default/keymap.c b/keyboards/handwired/numpad20/keymaps/default/keymap.c index 37031206a..65799bfee 100644 --- a/keyboards/handwired/numpad20/keymaps/default/keymap.c +++ b/keyboards/handwired/numpad20/keymaps/default/keymap.c @@ -3,7 +3,7 @@ #define KC_ KC_TRNS const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = COMPACT_KEYMAP( + [0] = LAYOUT( LEFT,RGHT, UP ,DOWN, \ P7 , P8 , P9 ,PLUS, \ P4 , P5 , P6 ,MINS, \ diff --git a/keyboards/handwired/numpad20/numpad20.h b/keyboards/handwired/numpad20/numpad20.h index 191979be0..a2aa8d16b 100644 --- a/keyboards/handwired/numpad20/numpad20.h +++ b/keyboards/handwired/numpad20/numpad20.h @@ -3,7 +3,7 @@ #include "quantum.h" -#define COMPACT_KEYMAP( \ +#define LAYOUT( \ K00, K01, K02, K03, \ K10, K11, K12, K13, \ K20, K21, K22, K23, \ diff --git a/keyboards/handwired/numpad20/readme.md b/keyboards/handwired/numpad20/readme.md new file mode 100644 index 000000000..29c832daf --- /dev/null +++ b/keyboards/handwired/numpad20/readme.md @@ -0,0 +1,13 @@ +# numpad20 handwired + +Custom handwired 20 key numpad. + +Keyboard Maintainer: [Danny](https://github.com/nooges) +Hardware Supported: Custom handwired 20 key numpad +Hardware Availability: + +Make example for this keyboard (after setting up your build environment): + + make handwired/numpad20:default + +See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. \ No newline at end of file -- cgit v1.2.3-24-g4f1b