Fixed handling of number pad keys with num-lock off. Was

synthesizing events for the numbers even with num-lock off.  Now
synthesizing the cursor movements.
This commit is contained in:
crs
2004-11-06 16:13:01 +00:00
parent b7f0311eb2
commit 01dc8fa337
2 changed files with 25 additions and 6 deletions

View File

@@ -125,6 +125,7 @@ private:
HKL m_keyLayout;
CString m_keyName;
UINT m_scanCodeToVirtKey[512];
UINT m_scanCodeToVirtKeyNumLock[512];
KeyButton m_virtKeyToScanCode[256];
static const char* s_vkToName[];