Ok I'm working on a DirectX project for an augmentation class and have a quick question.
I'm needing to recognize a key being pressed (for example "s) which triggers action (x).
I then need to press "s" again to then revert back to the original state.
Currently I have an entry in the switch (msg) to trigger action "x" when the spacebar is pressed. But now I need it to reset it back to normal when I press the spacebar again (currently I have it set to the shift key).