Page 1 of 1

Key up registering?

PostPosted: Sun Jun 11, 2017 9:42 am
by MadMilitia
I noticed a very annoying problem when attempting to use key broadcasting on FX windows (the same thing happens on a window swap). If you press a key down and then repeater ends before the keyup event, the character continues to move as it never received the keyup event.

Is there a way to register key up events when repeater ends? Like on FX windows.

Re: Key up registering?

PostPosted: Sun Jun 11, 2017 4:10 pm
by bob
Not without significant changes to Inner Space.
There was a partial fix to this in the last update, as a result of tracking down something else, so it should not occur as often as it did, and the testing I've done on it showed that the behaviour was much better than it used to be.

Essentially, you are pressing a key down, then removing the input focus of the keyboard from the game, so when the key does come up, the game does not get that particular message. It's a bit of a tricky one to resolve without a bunch of hacky hacks.

Re: Key up registering?

PostPosted: Sun Jun 11, 2017 4:24 pm
by MadMilitia
How about adding a button tracker for each window that tracks the key down events and reverse issues key up events when focus changes? It's usually WASD or up / down / left / right that are the biggest annoyances. Though a button tracker could be a better solution knowing exactly what key down event didn't get a key up.