SendInput Problem
hi there
im using SendInput Function to the target program which using GetAsyncKeyState funcion
when i Send VK_RIGHT once then target program working as recive VK_RIGHT key again and again
i found the reason why working as like that.
in msdn SendInput it says
"This function does not reset the keyboard's current state.
Any keys that are already pressed when the function is called might interfere with the events that this function generates.
To avoid this problem, check the keyboard's state with the GetAsyncKeyState function and correct as necessary."

so i tried to find way of reset the keyboard's current state. but i dont get it