From 7bdafd21da0035f44e997ed9b013e8866e92a37c Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 6 Jan 2016 12:42:10 +0100 Subject: [PATCH] Changed: Support for new key events --- code/nel/include/nel/misc/events.h | 5 +++++ code/nel/src/misc/events.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/code/nel/include/nel/misc/events.h b/code/nel/include/nel/misc/events.h index e05ef3d2f..c783a85eb 100644 --- a/code/nel/include/nel/misc/events.h +++ b/code/nel/include/nel/misc/events.h @@ -212,6 +212,11 @@ enum TKey KeyRCONTROL =0xA3, KeyLMENU =0xA4, KeyRMENU =0xA5, + KeyMUTE =0xAD, + KeyPLAYPAUSE =0xB3, + KeyVOLUMEDOWN =0xB4, + KeyVOLUMEUP =0xB5, + KeyCALC =0xB7, KeySEMICOLON =0xBA, KeyEQUALS =0xBB, KeyCOMMA =0xBC, diff --git a/code/nel/src/misc/events.cpp b/code/nel/src/misc/events.cpp index daa651ed7..6f85c5f7e 100644 --- a/code/nel/src/misc/events.cpp +++ b/code/nel/src/misc/events.cpp @@ -159,6 +159,11 @@ static const CStringConversion::CPair stringTable [] = { "KeyRCONTROL", KeyRCONTROL }, { "KeyLMENU", KeyLMENU }, { "KeyRMENU", KeyRMENU }, + { "KeyMUTE", KeyMUTE }, + { "KeyPLAYPAUSE", KeyPLAYPAUSE }, + { "KeyVOLUMEDOWN", KeyVOLUMEDOWN }, + { "KeyVOLUMEUP", KeyVOLUMEUP }, + { "KeyCALC", KeyCALC }, { "KeySEMICOLON", KeySEMICOLON }, { "KeyEQUALS", KeyEQUALS }, { "KeyCOMMA", KeyCOMMA },