A downloadable asset pack

Download NowName your own price

If you like this plugin, you can buy me a Ko-Fi! You can also find all the pay plugins for a cheaper subscription!

This plugin allows you to add a binding command in the options menu, this way the player will be able to bind his preferred keys and will have the game store those preferences in the data folder (or forage for web versions)

Be sure to have installed the .js file in the js/plugins folder of your project and the .JSON file in the data folder of your project.

WARNING: The changes are permanent even in playtest mode. Be sure to "Reset to default" before distribution if you don't want to launch your game with your personal key bindings. (Or do it, if you want, I won't judge!)

This plugin comes with the following features:

  • Allows to add a picture for Keyboard and for Gamepad: They are optional, the plugins comes with no default picture
  • Allows to choose up to 109 keys for the keyboard binding: That is as much as I managed to find
  • Allows to switch gamepad buttons layout: This is a graphic aid to whoever does not use the standard Xbox Controller layout (that is the default of RMMZ). This only show the corresponding buttons of the wished gamepad, this plugin DOES NOT aid the the controllers compatibility, only standard RMMZ compatible controllers work.
  • Key swapping: Both in Keyboard and Gamepad mode if you pick a key that is already used by another command the keys will be swapped. So if you pick "A" for going up instead of the "UP ARROW", the "UP ARROW" will go to the place of "A" (that is the ok command)
  • No keys detection: If any slot remains without at least 1 valid key assigned you will see a red "MISSING!!" message (can happen only in Keyboard mode). The plugin won't let you save the layout until you pick a valid key for the command.
  • Up to 2 keys per action: The plugin will let you assign two different keys for every action (Keyboard mode)
  • Translate actions and text: You can change the text of the plugin and the text of the actions (for example instead of saying "Shift" as RMMZ description you can write "Run")

Terms of use

Please refer to the Terms of Use. By using this plugin you accept WinterDream terms

Version, bugs and further development

 VERSION 1.0:

  •  Initial Release

Future released will aim to:

  • Make the gamepad layout selection permanent (as for v1.0 the user need to set it every time it changes the gamepad bindings)
  • Introduce the option to add multiple language translations, having the plugin detect the local language and adapt the language (if available)

Download

Download NowName your own price

Click download now to get access to the following files:

WD_ControlsBinder v1.0.zip 7 kB

Comments

Log in with itch.io to leave a comment.

Is there any way to call the scene via script call? I am not using the default options menu, so there doesn't seem to be any way to open this scene otherwise.

Not in this version as everything is an extension of Scene_Options, but I recon I could do a separate Scene for customized UI in the next release!

(1 edit)

Does it work with the Gamesir gamepads for mobile devices? What about 8 directional movement, does it recognize the up+left type commands? If so, we have a winner!

This plugin only rebind controls, it doesn't add extra controller support and it doesn't change RPG Maker behaviour 


For 8 directional control you need a 8 directional plugin active, if it's active then there is no problem using a controller (an 8 direction plugin should be available in the free dlc section of vanilla RPG Maker MZ)


As for Games or gamepads, I don't know if RPG Maker supports them natively, I'm sorry

I have a query.
How would one add access to the triggers and stick buttons for the gamepads that have them? Like, X/Square for [Shift]? It's not cutting it for me (I always set that to LT/L2).

(+2)

I was planning on adding more controller buttons in the next version, I need to find the JS codes for them and I think I might have found a reliable source :)

Awesome.

A Logitech gamepad?
I approve. Very much so.

(+1)

Hi, for now this plugin allows you to remap compatible controllers, doesn't actually add more compatibility. I might add it in the later releases but I need to study the controller API first :)

Meanwhile there is a plugin that might allow you to use the Logitech gamepad here

(1 edit)

Ah, I was referring to the gamepad image outline being that of a Logitech Wingman.
But thanks for the link nonetheless.
...
FTR The Logitech gamepads are DInput gamepads as far as I know.

(+1)

My bad, didn't realize you were talking about the outline, eheh 

All is well. No worries.