]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
core: Add short name for keycode KP_00 and KP_000
authortmk <hasu@tmk-kbd.com>
Tue, 12 Nov 2019 06:37:23 +0000 (15:37 +0900)
committertmk <hasu@tmk-kbd.com>
Tue, 12 Nov 2019 06:38:31 +0000 (15:38 +0900)
tmk_core/common/actionmap.h
tmk_core/common/keycode.h

index a96c84b3a7e61c0f334ef4226b27a7ddd59846e5..ca643e825123224e95adbca3980cbdf9de7dd5a6 100644 (file)
@@ -364,6 +364,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define AC_P8                          ACTION_KEY(KC_KP_8)
 #define AC_P9                          ACTION_KEY(KC_KP_9)
 #define AC_P0                          ACTION_KEY(KC_KP_0)
+#define AC_P00                 ACTION_KEY(KC_KP_00)
+#define AC_P000                ACTION_KEY(KC_KP_000)
 #define AC_PDOT                        ACTION_KEY(KC_KP_DOT)
 #define AC_PCMM                        ACTION_KEY(KC_KP_COMMA)
 #define AC_PSLS                        ACTION_KEY(KC_KP_SLASH)
index 63d52e892efb013dd3460306437a66d654acdc63..acbe5c320fb1acbbe24cc640eb25275a37e1165d 100644 (file)
@@ -116,6 +116,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define KC_P8   KC_KP_8
 #define KC_P9   KC_KP_9
 #define KC_P0   KC_KP_0
+#define KC_P00  KC_KP_00
+#define KC_P000 KC_KP_000
 #define KC_PDOT KC_KP_DOT
 #define KC_PCMM KC_KP_COMMA
 #define KC_PSLS KC_KP_SLASH