(MZ) Classic GamePad (Joystick) Extensor!

qCUETf.png


This plugin will allow you to have better control over the devices that the user is using.
Detecting if you are using:

- Keyboard.

- Playstation Joystick.

- Xbox Joystick.

And be able to activate / deactivate switches based on the device used.

It also allows you to run common events when certain buttons on the controller are pressed.

By default Rpg maker has no conditions to know which device is being used. With this you can prepare to give the user a personalized experience without too many advanced and unnecessary configurations.

With this you can associate the classic buttons of a controller:

Button A (Xbox) / X (PlayStation)
Button B (Xbox) / Circle (PlayStation)
Button X (Xbox) / Square (PlayStation)
Button Y (Xbox) / Triangle (PlayStation)
LB (Xbox) / L1 (PlayStation)
RB (Xbox) / R1 (PlayStation)
LT (Xbox) / L2 (PlayStation)
RT (Xbox) / R2 (PlayStation)
Back Button (Xbox) / Select (PlayStation)
Start Button (Xbox) / Start Button (PlayStation)
L3 (Xbox) / L3 (PlayStation)
R3 (Xbox) / R3 (PlayStation)
D-Pad Up
D-Pad Down
D-Pad Left
D-Pad Right


As far as I know this plugin is the only one compatible by default with the Vizustella Core system for dynamic help buttons. In other words, it allows you to dynamically display the button icons depending on the command being used. (Requires having VizuMZ_0_CoreEngine correctly to use function.)

Other plugins from other authors remove this compatibility. This is a simple but effective plugin. And perhaps it is what you were looking for to give dynamism to your project.

What can I do with this plugin?​

Examples:

You can display dynamic tooltips based on switch states.

That is, if you are using a Playstation controller that, for example, shows you a message that says "Use X to attack" or if you are using an Xbox controller that says "Use A to attack" among endless ideas.

Compatibility:​

RPG MAKER MZ

Tested on:​

- RPG MAKER MZ / v1.7.0
- Compatible with: Vizustella Core Engine

License:​

By acquiring this plugin you can improve it and adapt it to your needs. Attribution to your project is required, you can use:

Maxii1996 or Undermax Games.

You can use it in commercial or non-commercial projects. Please do not resell the plugin.

How to Install the Plugin:​

Once you download the file, copy and paste the "ClassicGamepadsExtensor.js" file:

-> To the "plugins" folder inside your project. (root/js/plugins/)

- Remember add and activate the plugin from the RPG MAKER MZ Plugin Editor. Then configure what you need to adapt it to your project. The setup is super easy. It's all inside the plugin help.

Information:​

- If the user does not have the device drivers, the controller may not work. The plugin does not add additional drivers or APIs. If your game made in Rpg maker MZ detects your controller, this plugin should be compatible.


Plugin get:​

Get Plugin on my itchio Page!​

Hi there @maxinm If your free demo version is a fully functional plugin and payment for a full version enables additional features, that is OK. If your demo were to time out or end, that would not be OK.
I agree @Ms Littlefish

Sorry for the delay in my response, I was working on adapting the plugin to create a demo version so that users can see the basic functionality, just as you said, and if they like it, they can purchase the Full version with all available features.

The download is now available on my Itchio page.

I thank you for your time. And if you could be so kind as to publish this post publicly I would appreciate it.

All the best!
Thank you for doing that! Your thread is now live. 😍
Thank you for doing that! Your thread is now live. 😍

Thanks to you for giving me the opportunity to solve the issue. I send you a big greeting and I remain at your disposal.

Original thread: https://forums.rpgmakerweb.com/threads/mz-classic-gamepad-joystick-extensor.159003/