- Code:
case WM_KEYDOWN:
if (!(lParam & 0x40000000))
{
GDKEYLIST keylist;
m_input.GetKeyList(&keylist;);
KeyDown(wParam, keylist);
}
return 0;
As the if statement above, when the key repeat event has been received the message is ignored.
Please let me know the reason why you did like that.