I want to get the current state of the shift key. Fortunately PlayerController->IsInputKeyDown(EKeys::LeftShift)
does work if shift key was pressed first before any other keys. However if user presses any other key, say X, and then presses shift (while X is still down) then IsInputKeyDown(EKeys::LeftShift)
is returning false. How do I get the current state of shift key regardless of which other keys are down at the moment?
Please have a look