From: tmk Date: Tue, 12 Nov 2019 06:37:23 +0000 (+0900) Subject: core: Add short name for keycode KP_00 and KP_000 X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=698c957cad7c0b9e89ee474dee463a2fcf274352;p=max%2Ftmk_keyboard.git core: Add short name for keycode KP_00 and KP_000 --- diff --git a/tmk_core/common/actionmap.h b/tmk_core/common/actionmap.h index a96c84b3..ca643e82 100644 --- a/tmk_core/common/actionmap.h +++ b/tmk_core/common/actionmap.h @@ -364,6 +364,8 @@ along with this program. If not, see . #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) diff --git a/tmk_core/common/keycode.h b/tmk_core/common/keycode.h index 63d52e89..acbe5c32 100644 --- a/tmk_core/common/keycode.h +++ b/tmk_core/common/keycode.h @@ -116,6 +116,8 @@ along with this program. If not, see . #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