Page 1 of 1

Rewired input on responses

Posted: Tue Nov 21, 2017 5:34 pm
by Aheydeck
Hi,
I dunno if i might have missed something. I've made a clean install of Dialogue System, and clean install on the Rewired package.
Added the Dialogue System Rewired script to the Dialogue Manager.

I can Cancel and Close with my gamepad now, but selecting a response in the list is not working.
I also can't seem to find what button names are used for response navigation?

Please advise!

Re: Rewired input on responses

Posted: Tue Nov 21, 2017 6:24 pm
by Tony Li
Hi,

You're almost all the way there!

Use a Unity UI Dialogue UI. (Or a TextMesh Pro Dialogue UI.) These use Unity's EventSystem. Inspect the dialogue UI, and tick Auto Focus. This will auto-focus the first response so Unity can navigate them.

Then make sure your EventSystem has a Rewired Standalone Input Module, as described on this Rewired page.

The UI, since it uses Unity's standard EventSystem navigation, will then use the navigation inputs that you've defined in Rewired. You might want to check the axes defined on the Rewired Standalone Input Module to make sure they match your Rewired input definitions.

Re: Rewired input on responses

Posted: Wed Nov 22, 2017 3:42 pm
by Aheydeck
Thanks! All works fine now!

Re: Rewired input on responses

Posted: Wed Nov 22, 2017 3:45 pm
by Tony Li
Glad to help!