I have a use case for getting pressed key scancodes without releasing them (I'm actually not sure why you'd want this to be the default behavior, but that's besides the point). This PR simply adds a parameter for whether keys should be released in stash_state(), which defaults to True.
I have a use case for getting pressed key scancodes without releasing them (I'm actually not sure why you'd want this to be the default behavior, but that's besides the point). This PR simply adds a parameter for whether keys should be released in
stash_state()
, which defaults toTrue
.