The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

Hey there. I have an ItemList I'm using as a menu, and I want to control it using my Input Map controls. Thing is, it's a GUI control so it defaults to moving the cursor with the arrow keys and selecting with enter. I want it to be done with the same keys I'm using to control the player character, so how should I go about doing this?

in Engine by (28 points)

in the input mapper(or whatever) you ui_* elements are for the control stuff given from godot so you can change them if you wish

That's not working. Even though there isn't a single ui_ element mapped to Enter, that's still the only key that selects the ItemList items.

oh... what version are you using?

and why wouldnt you create an element yourself?

2.1.4, and I'm not entirely sure what you're talking about here. Could you explain what you mean?

1 Answer

0 votes

Well, it's working how I want it too now. I deleted the Return, Enter and Spacebar keys from uiaccept (the former two having appeared in the Input Map again after previously deleting them), then Spacebar suddenly started working on the ItemList. I mapped Spacebar to uiaccept and now it's working perfectly. I have absolutely no idea how any of this makes a lick of sense, but it works so whatever.

by (28 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.