]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/cu24/cu24.h
Add user-overridable callback for cancelling UCIS input (#5564)
[qmk_firmware.git] / keyboards / cu24 / cu24.h
index e8e6b46ec8d5e825c96976f0f28a53aa10aa4d58..d329182d23878d1dc99d112713fc4ae118d5299d 100644 (file)
@@ -22,7 +22,7 @@
 // The following is an example using the Planck MIT layout
 // The first section contains all of the arguments
 // The second converts the arguments into a two-dimensional array
-#define KEYMAP( \
+#define LAYOUT_grid( \
     k00, k01, k02, k03, \
     k10, k11, k12, k13, \
     k20, k21, k22, k23, \
     { k50, k51, k52, k53 }  \
 }
 
+#define LAYOUT_numpad( \
+    k00, k01, k02, k03, \
+    k10, k11, k12, k13, \
+    k20, k21, k22, k23, \
+    k30, k31, k32,      \
+    k40, k41, k42, k43, \
+         k51, k52       \
+) \
+{ \
+    { k00,   k01,   k02, k03 }, \
+    { k10,   k11,   k12, k13 }, \
+    { k20,   k21,   k22, k23 }, \
+    { k30,   k31,   k32, KC_NO }, \
+    { k40,   k41,   k42, k43 }, \
+    { KC_NO, k51,   k52, KC_NO }  \
+}
+
+
+
 #endif