We have 2 CTRL/ALT/SHIFT buttons on our keyboard. But there are VK_CONTROL/VK_LCONTROL/VK_RCONTROL available in the win api. So which value is default for the VK_CONTROL? VK_LCONTROL (left) or VK_RCONTROL (right)? Or maybe it choses value depending on some situation? Can’t find the answer neither in MSDN nor in Google.
I think it doesn’t matter in connection with CTRL – they are alternating, but it makes difference with e.g. ALT.
Text from WinUser.h:
VK_L* & VK_R* - left and right Alt, Ctrl and Shift virtual keys.Used only as parameters to GetAsyncKeyState() and GetKeyState().No other API or message will distinguish left and right keys in this way.