2023-01-04, 17:05:43
You are quite right.
The data is passed as is and is what MS gives me, so the scancode is what it is.
I don't think it is a good idea if AntView changes the actual scancodes.
However, not all is lost.
Was just looking at the test code and down here, we also bumped into the same issue.
You can get the status of the modifier keys via the GetKeyState windows API call.
The nVirtKey parameter for GetKeyState is $10 for VK_SHIFT and $11 for VK_CONTROL
So not too hard to get the state of the modifier keys if you're able to access the Windows API.
--
Wil
The data is passed as is and is what MS gives me, so the scancode is what it is.
I don't think it is a good idea if AntView changes the actual scancodes.
However, not all is lost.
Was just looking at the test code and down here, we also bumped into the same issue.
You can get the status of the modifier keys via the GetKeyState windows API call.
The nVirtKey parameter for GetKeyState is $10 for VK_SHIFT and $11 for VK_CONTROL
So not too hard to get the state of the modifier keys if you're able to access the Windows API.
--
Wil