Hi, It's the first time I include your plugin in Unity and I can't seem to make it work with the controller. I am using the new input system (the checkbox is checked in the starting UI).
In the attached screenshots you can see my Proximity Selector. If I select "Tab" for the "useKey" value it works and I can see the dialogue appear, If I use the "Joystick Button 0" it does not work and the dialogue is not triggered.
So, how am I supposed to know what Joystick Button 0 is? Is it X for the PS controller? Where can I read more about this? I tried to read the code but I still can't understand how you mapped the values.
Using X button of PlayStation controllers to trigger dialogues
Using X button of PlayStation controllers to trigger dialogues
- Attachments
-
- Screenshot 2025-04-10 111416.png (51.58 KiB) Viewed 496 times
Re: Using X button of PlayStation controllers to trigger dialogues
Hi,
Since you're using the Input System package, please use these steps:
1. In your Input System input actions asset, define an input action that you will use with the Proximity Selector. For example, say it's named "Interact". Then assign the South button to it. (This is the X button on a PS controller, or the A button on an Xbox controller.) You may also want to assign a keyboard key to it also, such as the Spacebar key.
2. Add an Input Action Registry component to your Dialogue Manager GameObject. Assign the input action to it (e.g., "Interact").
3. On the Proximity Selector component, set the Use Button to the name of the input action (e.g., "Interact" -- without quotes).
Since you're using the Input System package, please use these steps:
1. In your Input System input actions asset, define an input action that you will use with the Proximity Selector. For example, say it's named "Interact". Then assign the South button to it. (This is the X button on a PS controller, or the A button on an Xbox controller.) You may also want to assign a keyboard key to it also, such as the Spacebar key.
2. Add an Input Action Registry component to your Dialogue Manager GameObject. Assign the input action to it (e.g., "Interact").
3. On the Proximity Selector component, set the Use Button to the name of the input action (e.g., "Interact" -- without quotes).
Re: Using X button of PlayStation controllers to trigger dialogues
I confirm that this worked!