I am trying to set a trigger so that if the player holds the shift key for 2 seconds, the input closes.
The problem is, when the text input object is "focused", construct doesn't seem to be able to detect specific key presses or holds until it is unfocused.
Are there any work arounds for this so that I can use a key hold to close the text input box? My game does not use a cursor at all so I need to do this using the keyboard.
Thanks in advance!