Added Keyboard::Decimal key (Numpad .)

Former-commit-id: ae01476de199e22d080508e88f2625c2f0332002
This commit is contained in:
Lynix 2013-12-13 22:07:03 +01:00
parent 054cde1c8b
commit 3c96d8a1a1
3 changed files with 5 additions and 1 deletions

View File

@ -72,6 +72,7 @@ class NAZARA_API NzKeyboard
// Pavé numérique
Add,
Decimal,
Divide,
Multiply,
Numpad0,

View File

@ -64,6 +64,7 @@ namespace
// Pavé numérique
VK_ADD, // Key::Add
VK_DECIMAL, // Key::Decimal
VK_DIVIDE, // Key::Divide
VK_MULTIPLY, // Key::Multiply
VK_NUMPAD0, // Key::Numpad0
@ -108,7 +109,7 @@ namespace
VK_NEXT, // Key::PageDown
VK_PRIOR, // Key::PageUp
VK_PAUSE, // Key::Pause
VK_OEM_PERIOD, // Key::Period,
VK_OEM_PERIOD, // Key::Period
VK_PRINT, // Key::Print
VK_SNAPSHOT, // Key::PrintScreen
VK_OEM_7, // Key::Quote
@ -162,6 +163,7 @@ NzString NzEventImpl::GetKeyName(NzKeyboard::Key key)
{
case VK_ATTN:
case VK_DOWN:
case VK_DECIMAL:
case VK_DELETE:
case VK_DIVIDE:
case VK_END:

View File

@ -1068,6 +1068,7 @@ NzKeyboard::Key NzWindowImpl::ConvertVirtualKey(WPARAM key, LPARAM flags)
case VK_BROWSER_STOP: return NzKeyboard::Browser_Stop;
case VK_CAPITAL: return NzKeyboard::CapsLock;
case VK_CLEAR: return NzKeyboard::Clear;
case VK_DECIMAL: return NzKeyboard::Decimal;
case VK_DELETE: return NzKeyboard::Delete;
case VK_DIVIDE: return NzKeyboard::Divide;
case VK_DOWN: return NzKeyboard::Down;