Hello,
i have two problems in my project regarding widget.
- In the game you can spawn a widget (like a web captcha)
- Widget spawns with no problem
- With gamepad you can move mouse cursor too (set mouse position node)
- Widget buttons get the mouse over when cursor is controlled with gamepad, that’s fine
- When pressing A on gamepad (is set as additional left mouse click event in player controller) while hovering on button there is no press event and button doesn’t change to pressed
- When i then move the mouse over a button, there is hover and pressed event, that’s correct
- NOW i can press via gamepad on buttons but the pressed button is offset (screenshot)
So, first question: Why do i have to click left mouse button first on the screen to activate gamepad mouse click?
Second question: Why is the pressed button never the hovered one?
Screenshot: Cursor is on top right button but the left one will be set to pressed. It is not always on the left, it could be anyone when changing cursor position on screen.