Godot Version
V4.4.1
Question
Hello Everyone!
I’m having trouble getting left trigger to work with UI Shortcuts specifically.
So the strange thing is once I setup the shortcut the keyboard bind worked fine but the controller didn’t. I’m using an XBOX style controller. At first I thought it was something wrong with the controller but then I added left bumper (L1) and it works as expected. So then I thought I configured something wrong in the Input Map. Left trigger is an axis so maybe there is a checkbox or a setting I need to change?? But I didn’t find anything. So feeling like I never have had an issue like this I checked the input in code and left trigger worked!
if (Input.IsActionJustPressed("TabNavigationPrev"))
So is this a bug or is some setting I have wrong with UI Shortcuts? Also if anyone wants to reproduce this.
- Add a new InputMap with a keyboard input, controller button, and a controller trigger to a single action.
- Add a new button to the UI and set the shortcut to use the new action you created
- Attach a script to tie in to the pressed event and output debug text to see when it’s pressed. GD.Print()
- Test to see if the trigger on the controller is the only one not to output the debug text