[Solved] Two small input issues (Rewired integration, + general Unity UI issue)
Posted: Sat May 16, 2020 8:59 am
Hi Tony,
I have a couple small issues related to input, hoping you can point me in the right direction.
1) Rewired: Axis input from D-Pad is ignored
When selecting response options, I'm able to switch between options with my left stick, but not the D-Pad.
I have two actions in Rewired, "UI Horizontal" and "UI Vertical", each with respective names for positive and negative values (UI Up/Down & UI Right/Left). Joystick Maps have been configured to handle both Left Stick and D-Pad. The Dialogue Manager game object has the "Input Device Manager" and "Input Device Manager Rewired" scripts.
Am I missing anything here?
2) Last-selected response button remains selected when switching between Keyboard/Joystick and Mouse input So, my issue here comes from the fact that there's a distinction between "highlight" and "select" button states, and I'm using the same sprite for both states. But ideally, I'd like for the selected button to become deselected when the mouse hovers over a different button - and then, be able to reselect the first button when the mouse goes away. I don't know how to make the event system handle this.
I have a couple small issues related to input, hoping you can point me in the right direction.
1) Rewired: Axis input from D-Pad is ignored
When selecting response options, I'm able to switch between options with my left stick, but not the D-Pad.
I have two actions in Rewired, "UI Horizontal" and "UI Vertical", each with respective names for positive and negative values (UI Up/Down & UI Right/Left). Joystick Maps have been configured to handle both Left Stick and D-Pad. The Dialogue Manager game object has the "Input Device Manager" and "Input Device Manager Rewired" scripts.
Am I missing anything here?
2) Last-selected response button remains selected when switching between Keyboard/Joystick and Mouse input So, my issue here comes from the fact that there's a distinction between "highlight" and "select" button states, and I'm using the same sprite for both states. But ideally, I'd like for the selected button to become deselected when the mouse hovers over a different button - and then, be able to reselect the first button when the mouse goes away. I don't know how to make the event system handle this.