Docs / Controls and quality of life
LW_Gamepad
PS5 DualSense works out of the box on Mac and Windows. Button prompts in text follow the device the player uses.
Needs LW_Core (LWZ_Core in MZ) above all Living World plugins in the Plugin Manager. It's included in every pack.
A PS5 controller that simply works, on Mac and Windows.
Highlights
- Maps the DualSense back to the right buttons where MV reads it wrong
- Xbox and other standard pads keep working as before
- Button prompts in text show the button of the device the player is using
- R1 held dashes on the map, R2 held fast forwards scenes and text
- Free for any game, commercial ones too
Ideas for your game
- A couch game played with a PS5 controller on a Mac
- Tutorial text that says "press Cross" on a pad and "press Enter" on a keyboard
Works well with
Introduction
MV reads a PS5 controller wrong on macOS and in older NW.js builds. The browser reports the DualSense without the standard layout, so Circle ends up as dash and Cross does nothing. This plugin detects the raw Sony layout and maps it back. Standard controllers (Xbox, DualSense in Chrome on Windows) keep working as before.
Layout by button position:
Cross OK Circle Cancel
Square Shift Triangle Menu
L1 / R1 Page up / down R1 held Dash on the map
R2 held Fast forward (used by LW_Cutscene)
L2 free, readable as Input.isPressed('lwL2')
Options Menu
D-pad and left stick move.
Keyboard: Enter is OK, Esc is cancel, Shift dashes and fast forwards, Q and W turn pages.
Note: this plugin replaces MV's Input.gamepadMapper. If you remapped pad buttons there, move your changes into LW.padButtons (see below).
Button Prompts
Write a placeholder in any message, help text or database text and it shows the right button name for the device the player last touched:
{CROSS} Cross or Enter
{CIRCLE} Circle or Esc
{SQUARE} Square or Shift
{TRIANGLE} Triangle or Esc
{L1R1} L1/R1 or Q/W
{R2} R2 or Shift
{DPAD} D-pad or arrow keys
Example: "Press {CROSS} to talk, hold {R2} to skip."
The words live in LW.buttonWords. Change them in a small plugin below this one if you want other names or icons, for example:
LW.buttonWords.pad.CROSS = '\\I[64]';
Script Calls
LW.inputDevice 'pad' or 'keyboard' LW.buttonText(text) replaces the placeholders in text LW.fastForwardPressed() true while R2 (or Shift on the keyboard) is held
Terms of Use
See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.
Changelog
Version 1.0.0 - 2026-11-21 - First release.
Introduction
MZ reads a PS5 controller wrong on macOS and in older NW.js builds. The browser reports the DualSense without the standard layout, so Circle ends up as dash and Cross does nothing. This plugin detects the raw Sony layout and maps it back. Standard controllers (Xbox, DualSense in Chrome on Windows) keep working as before.
Layout by button position:
Cross OK Circle Cancel
Square Shift Triangle Menu
L1 / R1 Page up / down R1 held Dash on the map
R2 held Fast forward (used by LWZ_Cutscene)
L2 free, readable as Input.isPressed('lwL2')
Options Menu
D-pad and left stick move.
Keyboard: Enter is OK, Esc is cancel, Shift dashes and fast forwards, Q and W turn pages.
Note: this plugin replaces MZ's Input.gamepadMapper. If you remapped pad buttons there, move your changes into LW.padButtons (see below).
Button Prompts
Write a placeholder in any message, help text or database text and it shows the right button name for the device the player last touched:
{CROSS} Cross or Enter
{CIRCLE} Circle or Esc
{SQUARE} Square or Shift
{TRIANGLE} Triangle or Esc
{L1R1} L1/R1 or Q/W
{R2} R2 or Shift
{DPAD} D-pad or arrow keys
Example: "Press {CROSS} to talk, hold {R2} to skip."
The words live in LW.buttonWords. Change them in a small plugin below this one if you want other names or icons, for example:
LW.buttonWords.pad.CROSS = '\\I[64]';
Script Calls
LW.inputDevice 'pad' or 'keyboard' LW.buttonText(text) replaces the placeholders in text LW.fastForwardPressed() true while R2 (or Shift on the keyboard) is held
Terms of Use
See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.
Changelog
Version 1.0.0 - First release for MZ.
Get it
LW_Gamepad is in these packs. Every pack comes as an MV and an MZ download at the same price and needs no other plugin collection. Tested in RPG Maker MV 1.6.2 and MZ 1.10.0 games on Windows, macOS and Linux and in current browsers.