An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Dark Plasma Gamepad Setting Base - DarkPlasma_GamepadSettingBase.js

Plugin desc : Gamepad configuration base

License : MIT License

Author : DarkPlasma

Website : https://github.com/munokura/DarkPlasma-MZ-Plugins/blob/main/DarkPlasma_GamepadSettingBase.js

Desc page : https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release

Download Page : https://raw.githubusercontent.com/munokura/DarkPlasma-MZ-Plugins/main/DarkPlasma_GamepadSettingBase.js

File name : DarkPlasma_GamepadSettingBase.js

Help of plugin :

@target MZ
@url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
@plugindesc Gamepad configuration base
@author DarkPlasma
@license MIT

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/DarkPlasma-MZ-Plugins ).
Original plugin by DarkPlasma.
Please check the latest official version at:
https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
-----

version: 1.0.0
Provides gamepad settings as an option.

Enter ¥GAMEPAD[control name] in text to convert it to a control button
notation.

Control Name List
ok: Confirm
cancel: Cancel
menu: Menu
pageup: Toggle left
pagedown: Toggle right
shift: Special control 1
special2: Special control 2

Example: ¥GAMEPAD[special2]

You can obtain the control button notation using the
Window_Base.prototype.getManualButtonName method.

To further customize gamepad settings,
override the following methods in an additional plugin.

Input.inputSymbols(): InputSymbol
Input.inputBehaviorKeys(): string[]
Input.inputBehaviorKeyName(key: string): string

If using with the following plugins, add them below them.
PluginCommonBase

@param keyMapper
@text Key Mapping
@desc Sets the keyboard mapping.
@type struct<KeyMapping>[]
@default ["{¥"keyCode¥":¥"77¥",¥"action¥":¥"menu¥"}","{¥"keyCode¥":¥"83¥",¥"action¥":¥"special2¥"}"]

@param gamepadMapper
@text Gamepad Mapping
@desc Sets the mapping for gamepad operations.
@type struct<KeyMapping>[]
@default ["{¥"keyCode¥":¥"6¥",¥"action¥":¥"special2¥"}"]

@param colsWidth
@text Item width
@type number
@default 124

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.