From daf6d8889e1321f0299c1d80dc56df94906adfeb Mon Sep 17 00:00:00 2001 From: akallabeth Date: Tue, 26 May 2020 12:15:27 +0200 Subject: [PATCH] Added scancodes for launch keys (cherry picked from commit c97c1ca359db825ee6d172b5860b793dcf3a1e83) --- include/freerdp/scancode.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/freerdp/scancode.h b/include/freerdp/scancode.h index 226f711a5..55d2ebb86 100644 --- a/include/freerdp/scancode.h +++ b/include/freerdp/scancode.h @@ -166,7 +166,6 @@ #define RDP_SCANCODE_TAB_JP MAKE_RDP_SCANCODE(0x7C, FALSE) /* JP TAB */ #define RDP_SCANCODE_BACKSLASH_JP MAKE_RDP_SCANCODE(0x7D, FALSE) /* JP OEM_5 ('\') */ #define RDP_SCANCODE_ABNT_C2 MAKE_RDP_SCANCODE(0x7E, FALSE) /* VK_ABNT_C2, JP */ -#define RDP_SCANCODE_ABNT_C2 MAKE_RDP_SCANCODE(0x7E, FALSE) /* JP OEM_PA2 */ #define RDP_SCANCODE_HANJA MAKE_RDP_SCANCODE(0x71, FALSE) /* KR VK_HANJA */ #define RDP_SCANCODE_HANGUL MAKE_RDP_SCANCODE(0x72, FALSE) /* KR VK_HANGUL */ @@ -229,4 +228,10 @@ /* Misc. */ #define RDP_SCANCODE_LAUNCH_MAIL MAKE_RDP_SCANCODE(0x6C, TRUE) /* VK_LAUNCH_MAIL */ +#define RDP_SCANCODE_LAUNCH_MEDIA_SELECT \ + MAKE_RDP_SCANCODE(0x6D, TRUE) /* VK_LAUNCH_MEDIA_SELECT \ + */ +#define RDP_SCANCODE_LAUNCH_APP1 MAKE_RDP_SCANCODE(0x6E, TRUE) /* VK_LAUNCH_APP1 */ +#define RDP_SCANCODE_LAUNCH_APP2 MAKE_RDP_SCANCODE(0x6F, TRUE) /* VK_LAUNCH_APP2 */ + #endif /* FREERDP_LOCALE_KEYBOARD_RDP_SCANCODE_H */