I was wondering if there's any way to map buttons so that a key is held when the button is pressed? For example, I'm trying to map a button to the space bar for dragging a canvas, but using a key event registers the input as just a short key press regardless of how long the button is held, and using a keydown event holds the space key indefinitely once the button has been pressed. Thanks.
I was wondering if there's any way to map buttons so that a key is held when the button is pressed? For example, I'm trying to map a button to the space bar for dragging a canvas, but using a key event registers the input as just a short key press regardless of how long the button is held, and using a keydown event holds the space key indefinitely once the button has been pressed. Thanks.