Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Gamepad Configuration question

cuzisaidso

Villager
Xy$
0.00
Standard controllers have a minimum of 10 buttons on a gamepad today (left, right triggers, left, right buttons, start and select buttons, and 4 face buttons). After some testing I figured out the following

(using steam and xbox controller labels)
x = dash
y = menu
a = ok
b = cancel

Yanfly's gamepad config script allows you to change those buttons, but not edit them to do different things. And even then it doesn't allow you to assign actions to other buttons I left out (the start and select buttons for example). Is there a file in the js folder or some other place where you can change button assignments? For example, I would like the menu button be changed from 'y' to the start or the select buttons.

I am aware there are controls that would allow you to change the keyboard controls (yanfly's common button events), but I'm looking for a way to access the actual gamepad. Even then, if I were to use that excellent plugin, I would still need some kind of bridge to assign those button changes to actual gamepad controls.

Thanks.
 
Top