I use RawInput to work with keystrokes. I find it difficult to determine if a key with a key is pressed.
From RawInputStructure → RawKeyboard , I can get a keystroke, but I'm not sure how to go about things, if the keys are pressed simultaneously.
RI.Data.keyboard.VKey (gets the key code)
I try to separate Shift for each user / keyboard, because at the moment when one user / keyboard shifts everything that does, the same with Capslock. Simultaneous typing becomes very dirty.
How do I know if a shift is pressed along with another key? Am I looking for it in the correct structure or should I look elsewhere?
source
share