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

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

MZ plugins

Mouse Bind To Key - MouseBindToKey.js

Plugin desc : Mouse input key binding plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com

Desc page : https://github.com/triacontane/RPGMakerMV/tree/mz_master/MouseBindToKey.js

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MZ-plugins/refs/heads/main/MouseBindToKey.js

File name : MouseBindToKey.js

Help of plugin :

@target MZ
@url https://github.com/triacontane/RPGMakerMV/tree/mz_master/MouseBindToKey.js
@plugindesc Mouse input key binding plugin
@author Triacontane
@license MIT License

@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/triacontane-MZ-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----

MouseBindToKey.js

You can assign mouse clicks to specific button inputs.
This plugin is for mouse (PC) input only. It does not support touch input.

Terms of Use:
You may modify and redistribute it without permission from the author, and
there are no restrictions on its use (commercial, R18+, etc.).
This plugin is now yours.

@param LeftButton
@text Left click button
@desc This button corresponds to a left click.
@type select
@option tab
@option ok
@option shift
@option control
@option escape
@option pageup
@option pagedown
@option left
@option up
@option right
@option down
@option debug
@option menu

@param MiddleButton
@text Middle click button
@desc This button corresponds to the center (wheel) click.
@type select
@option tab
@option ok
@option shift
@option control
@option escape
@option pageup
@option pagedown
@option left
@option up
@option right
@option down
@option debug
@option menu

@param RightButton
@text Right-click button
@desc This button corresponds to a right click.
@type select
@option tab
@option ok
@option shift
@option control
@option escape
@option pageup
@option pagedown
@option left
@option up
@option right
@option down
@option debug
@option menu

@param Suppress
@text Suppress the original behavior
@desc This suppresses the functionality originally assigned to the mouse, and does not affect the unassigned middle button.
@type boolean
@default false

@param InvalidateSwitch
@text Disable Switch
@desc When the specified switch is ON, the function of this plug-in will be disabled.
@type switch
@default 0

スポンサードリンク

-MZ plugins

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