Page 1 of 1

Response button ignores space bar, only reacts to Enter key

Posted: Tue Mar 25, 2025 7:28 am
by Vielfalt
Hi,
I created a bubble dialogue response panel which works great using the mouse, or arrow keys and the return key. However, the space bar is ignored. I tried adding it in various places (Input Actions Editor, Input Device Manager / Key Codes to Check) to no avail.
Attached are screenshots from the Input Actions Editor, DialogueSystemController and my response panel and button. Is there anything I'm missing?

Re: Response button ignores space bar, only reacts to Enter key

Posted: Tue Mar 25, 2025 9:17 am
by Tony Li
Hi,

The response menu and continue button rely on the Unity UI EventSystem. Make sure the input action assigned to your EventSystem's InputSystemUIInputModule listens for the space bar.

Re: Response button ignores space bar, only reacts to Enter key

Posted: Tue Mar 25, 2025 1:44 pm
by Vielfalt
This was the one place I didn't look, thank you!
The InputSystemUIInputModule's "Actions Asset" was set to default instead of my custom one.
Here's another screenshot for future reference:

Re: Response button ignores space bar, only reacts to Enter key

Posted: Tue Mar 25, 2025 3:59 pm
by Tony Li
Glad to help!