I want to be able to tell when a modified key (Ctrl or Shift) is pressed or released.
Basically, users can perform multiple keystrokes with a modifier key pressed and I don't want to perform an action until after it is released (think Emacs with Ctrl + X + S).
I was trying to do this with PreviewKeyUp and PreviewKeyDown, but that seems to handle normal keys and not modifiers. I can tell if the modifier key is pressed or not once I am in the event, but I can't tell if the modifier key was released and re-pressed between events.