How do I detect the state of the Left Shift or Right Shift keys. GetKeyState will only give me both of them together.
Printable View
How do I detect the state of the Left Shift or Right Shift keys. GetKeyState will only give me both of them together.
Use GetKeyboardState() or GetAsyncKeyState() API's. Use VK_LSHIFT and VK_RSHIFT indices to get them seperately.