A downloadable Plugin

This plugin adds the option to rebind the keyboard and game controller keys.

Made from simplifying the 2 previous keyboard and controller plugins and combining together - so hopefully more streamlined and less janky this time round.

May need to delete existing old config file in the save folder.

You can access the config screen with the scriptcall (handy if using other plugins such as Visustella Options Core to modify the options menu):

 SceneManager.push(Scene_InputConfig)

Features:

  • Ability to add your own custom keybinds and assign a custom keyname. (Can be used in scriptcalls to detect input for custom keynames).
  • Customise the button names dispayed (Xbox controller = default).
  • Rebind to most keys on the keyboard (except for F1 - F12).

Limitations:

  •  Not compatible with plugins that bind common events to keys/buttons.
  •  Can only bind function to 1 key/button.

(PeGe.Dev has made a plugin compatible that can run common events on a button press. Try it out here!: https://pege-dev.itch.io/rmmz-trigger-common-event-alternative-version)


Please credit Nowis-337.

Free to use in commercial and non-commercial project!

Feel free to fix edit any of the coding.

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

Version 1.3 - 26/12/2023 -  

  •  Added window width paramemter to set the width of the menu window
  • Added functionality to change the keyboard key names (will need to edit section in the plugin file itself)

Version 1.2 - 15/11/2023 -  

  •  Fixed bug with controller rebind function erasing further rebinds
  • Fixed errors with window selection due to timeout timer.

Version 1.1 - 13/11/2023 - 

  •  Bugfixes, New input settings now only apply when pressing the "confirm" button. Added back the debug input, and pageup and pagedown in the default parameters.

Version 1.0 -  12/11/2023 

  • Finished plugin!


StatusReleased
CategoryTool
Rating
Rated 5.0 out of 5 stars
(3 total ratings)
AuthorNowis-337
Tagsplugin, RPG Maker

Download

Download
Nowis337_InputConfig (v1.3) 62 kB

Comments

Log in with itch.io to leave a comment.

(2 edits)

I am trying to modify the plugin so it accepts both Z and Enter as ok. Can you help me? This is the default for rpg maker and I like it

I am really struggling to understand the code and how this works

With the way this plugin works, there is a limitation of only being able to bind one key to one function - so unfortunately, it can't support both Z and Enter as 'ok'.

Are you saying it's impossible to add this feature and to not bother trying to do it myself?

Yeah, I don't think it is possible without rewriting a lot of stuff. Check out this: https://forums.rpgmakerweb.com/index.php?threads/mano_inputconfig-gamepad-keyboa... I think I've seen it support multiple key inputs for the same function

Thanks a lot! I think this works perfectly

Hello,
Thank for your great job.
In restriction, you said that it's not compatible with blugin that bind common event to key. So I made one, it's only working in battle but can be edited to work on map too : https://pege-dev.itch.io/rmmz-trigger-common-event-alternative-version

Oh cool! Nice work! I'll add a link to this in the description for those who want to try it out.

Thanks, but it's small work compare to yours. Hope it will work in all project!

My plugin can now work for map event if you want to add it in your description.

Cool, done!

Is possible to add a option to adjust the window for non default screen res?

Looks strange

And hoe i can edit keyboard names? in left i put in in spanish but in right shows in english

I'll have a look into it.

Hello! I was wondering if you know how to add the input config option while using VisuStella's Options Core plugin.

After adding a new option to the relevant category, but for in the "process ok" section SceneManager.push(Scene_InputConfig) and it should open to the config menu. You'll have to fiddle around with the other parameters to change what text is displayed for the option etc

THANK YOU!!! I tried something very similar, but I put it in the wrong area. Thank you for taking the time to help!

Hey I found a bug in which when you reassign a button with a controller, the controller goes dead. Also when you assign further buttons with the controller it unassigns all controller inputs except for the one I just did which then unassigns itself when I try to redo all the inputs. 

I used a DualSense plugged in via USB, which works and works well until I redo the button inputs via the options menu in which it disables itself.

Thanks for letting me know! It should be fixed in the latest update.