Should be used after we attempt to process the event and set key states.
This should cause it to only actually change the state if it was changed off-focus.
Technically not neccesary with wheel/mouse events, but ordered similarly for consistency.
Modifiers need to be added/removed from the chain on changes, but not toggles.
Mutates the passed keys array to remove processed keys.
Should be used after we attempt to process the event and set key states.
This should cause it to only actually change the state if it was changed off-focus.
Technically not neccesary with wheel/mouse events, but ordered similarly for consistency.
Modifiers need to be added/removed from the chain on changes, but not toggles.
Mutates the passed keys array to remove processed keys.