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

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

MZ plugins

NUUN User Key - NUUN_UserKey.js

Plugin desc : Key button assignment

License : MIT License

Author : NUUN

Website : https://github.com/nuun888/MZ/blob/master/README/NUUN_UserKey.js

Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/README/NUUN_UserKey.js

File name : NUUN_UserKey.js

Help of plugin :

* @target MZ
 * @plugindesc Key button assignment
 * @author NUUN
 * @base NUUN_Base
 * @orderAfter NUUN_Base
 * @version 1.0.0
 * 
 * @help
 * Set keyboard keys and gamepad button assignments.
 * 
 * 
 * Game pad
 * XInput
 * 0:A
 * 1:B
 * 2:X
 * 3:Y
 * 4:LB
 * 5:RB
 * 6:LT
 * 7:RT
 * 8:Back
 * 9:Start
 * 10:Left stick push
 * 11:Right stick push
 * 12:↑
 * 13:↓
 * 14:←
 * 15:→
 * 16:
 * 
 * Terms of Use
 * This plugin is distributed under the MIT license.
 * 
 * Log
 * 2/28/2023 Ver.1.0.0
 * First edition.
 * 
 * @param UserKey
 * @type struct<UserKeyList>[]
 * @text Key setting
 * @desc Key setting.
 * @default ["{¥"UserKey¥":¥"{¥¥¥"KeyCode¥¥¥":¥¥¥"65¥¥¥",¥¥¥"GamePadCode¥¥¥":¥¥¥"6¥¥¥",¥¥¥"KeyName¥¥¥":¥¥¥"¥¥¥¥¥¥¥"pagedown2¥¥¥¥¥¥¥"¥¥¥",¥¥¥"KeySprict¥¥¥":¥¥¥"¥¥¥"}¥"}","{¥"UserKey¥":¥"{¥¥¥"KeyCode¥¥¥":¥¥¥"83¥¥¥",¥¥¥"GamePadCode¥¥¥":¥¥¥"7¥¥¥",¥¥¥"KeyName¥¥¥":¥¥¥"¥¥¥¥¥¥¥"pageup2¥¥¥¥¥¥¥"¥¥¥",¥¥¥"KeySprict¥¥¥":¥¥¥"¥¥¥"}¥"}","{¥"UserKey¥":¥"{¥¥¥"KeyCode¥¥¥":¥¥¥"-1¥¥¥",¥¥¥"GamePadCode¥¥¥":¥¥¥"10¥¥¥",¥¥¥"KeyName¥¥¥":¥¥¥"¥¥¥¥¥¥¥"leftstick¥¥¥¥¥¥¥"¥¥¥",¥¥¥"KeySprict¥¥¥":¥¥¥"¥¥¥"}¥"}","{¥"UserKey¥":¥"{¥¥¥"KeyCode¥¥¥":¥¥¥"-1¥¥¥",¥¥¥"GamePadCode¥¥¥":¥¥¥"11¥¥¥",¥¥¥"KeyName¥¥¥":¥¥¥"¥¥¥¥¥¥¥"rightstick¥¥¥¥¥¥¥"¥¥¥",¥¥¥"KeySprict¥¥¥":¥¥¥"¥¥¥"}¥"}"]
 * 
 *

スポンサードリンク

-MZ plugins

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