A downloadable plugin

This plugin adds the option to rebind the game controller keys to the options menu.

Features:

  • Add your own custom keybinds - at this stage only can assign your own keyname to reference to in script calls.
  • Customise the button names displayed (uses Xbox controller button names as default).
  • Probably not compatible with plugins that assign common events to certain key presses.

Highly recommended to use together with Visustella Core Engine MZ plugin that fixes an issue with gamepad input repeating too quickly. I've included a fairly crude fix which can be switched off.

 Free to use in commercial and non-commercial project!

Please credit Nowis-337.

===================================================

  • Version 1.2 - 5/9/2022 - Fixed some minor bugs, updated for more coherent menu sound use.
  • Version 1.1 - 22/8/22 - Added gamepad repeating input fix.
  •  Version 1.0 - 22/8/22 - Finished plugin!
StatusReleased
CategoryTool
Rating
Rated 5.0 out of 5 stars
(4 total ratings)
AuthorNowis-337
Tagsaccessibility, Controller, plugin, RPG Maker

Download

Download
Nowis337_ControllerRebind.js 33 kB

Install instructions

Place in your RPG Maker MZ Plugins folder and enable in the Plugins Manager.

Comments

Log in with itch.io to leave a comment.

(2 edits)

How do I assign custom button common events to the controller? Keyboard "L" is supposed to open a small menu, how do I bind "L"?

None of my custom binds work.

What's the plugin order?

Where's some examples for binding keys?

Literally spent 3 hours trying to figure this out... Nothing works.

If you are using another plugin to set common events to certain keys, then this plugin won't work - 
"Probably not compatible with plugins that assign common events to certain key presses."

For custom keys, this plugin "at this stage only can assign your own keyname to reference to in script calls."

So at most you can check if a custom key is being pressed with script calls - (see the inputs section here https://docs.google.com/spreadsheets/u/0/d/1-Oa0cRGpjC8L5JO8vdMwOaYMKO75dtfKDOet...

What you can do with it depends on what you do with these script calls.

(2 edits)

How do I make a rebind with the key preset being a key on the keyboard? (like R or X)

This one is only made to rebind controller pad keys. You can have a go with the keyboard rebind plugin - but these plugins are more focused on the basic controls of rpgmaker.

If you are using another plugin to make certain keys run common events etc, then these plugins sadly probably won't work.

For custom keys,  "at this stage only can assign your own keyname to reference to in script calls."

see in Inputs section here:

https://docs.google.com/spreadsheets/u/0/d/1-Oa0cRGpjC8L5JO8vdMwOaYMKO75dtfKDOet...

(which in this reference sheet, it would mean setting up your own buttonName)

With these scriptcalls, and some creative rpgmaker eventing, you can make those custom keys do other functions!

Some way to add this to visu menu?


Here are some screenshots on how I added to VS options core - basically the end of the day is to add something that runs these when selected: SceneManager.push(Scene_KeyboardRebind); SceneManager.push(Scene_ControllerRebind);

Hope this helps!