From 2c24a5163e76ae275d37a943dbfe1393562480f0 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Fri, 27 Jan 2017 12:30:18 +0100 Subject: [PATCH] key_defs: Add Key_NumLock Signed-off-by: Gergely Nagy --- src/key_defs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/key_defs.h b/src/key_defs.h index 4bee8723..8528ce2e 100644 --- a/src/key_defs.h +++ b/src/key_defs.h @@ -129,6 +129,7 @@ typedef union Key_ { #define Key_CapsLock (Key) { HID_KEYBOARD_CAPS_LOCK, KEY_FLAGS } +#define Key_NumLock (Key) { HID_KEYPAD_NUM_LOCK_AND_CLEAR, KEY_FLAGS } #define Key_F1 (Key) { HID_KEYBOARD_F1, KEY_FLAGS } #define Key_F2 (Key) { HID_KEYBOARD_F2, KEY_FLAGS }