aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ymdk_np21/ymdk_np21.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-10-01 08:09:57 -0700
committerJack Humbert <jack.humb@gmail.com>2018-10-01 11:09:57 -0400
commit3907ed034bec6730d8bff401ac632161540ea3cb (patch)
tree345edb48870809e447ac308375d9427892864c88 /keyboards/ymdk_np21/ymdk_np21.h
parent9d949389f92b6b397ed62246b60ead86d80a57a1 (diff)
downloadfirmware-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.h4
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