equal
deleted
inserted
replaced
491 keycode = MapWindowsKey(wParam); |
491 keycode = MapWindowsKey(wParam); |
492 |
492 |
493 /* Silently drop all text messages as those will be handled by WM_CHAR |
493 /* Silently drop all text messages as those will be handled by WM_CHAR |
494 * WM_KEYDOWN only handles CTRL+ commands and special keys like VK_LEFT, etc. */ |
494 * WM_KEYDOWN only handles CTRL+ commands and special keys like VK_LEFT, etc. */ |
495 if (keycode == 0 || (keycode > WKC_PAUSE && GB(keycode, 13, 4) == 0)) return 0; |
495 if (keycode == 0 || (keycode > WKC_PAUSE && GB(keycode, 13, 4) == 0)) return 0; |
|
496 |
|
497 /* Keys handled in WM_CHAR */ |
|
498 if ((uint)(GB(keycode, 0, 12) - WKC_NUM_DIV) <= WKC_MINUS - WKC_NUM_DIV) return 0; |
496 |
499 |
497 HandleKeypress(0 | (keycode << 16)); |
500 HandleKeypress(0 | (keycode << 16)); |
498 return 0; |
501 return 0; |
499 } |
502 } |
500 |
503 |