- Joined
- Mar 30, 2016
- Messages
- 429
- Reaction score
- 386
- First Language
- Russian
- Primarily Uses
- RMMZ
Title: Full Input
Author: DKPlugins
Version: 5.3.0
Description:
All keys of the keyboard and gamepad.
Features:
Compatibility:
Warning from "Help"
Default RPG Maker MV/MZ values for Alt, Space, Insert, Q, W, X, Z
Alt: 'control'
Space: 'ok'
Insert: 'escape'
Q: 'pageup'
W: 'pagedown'
X: 'escape'
Z: 'ok'
The values of this plugin for Alt, Space, Insert, Q, W, X, Z
Alt: 'alt'
Space: 'space'
Insert: 'insert'
Q: 'q'
W: 'w'
X: 'x'
Z: 'z'
# How to set WASD movement #
Change settings for WASD buttons:
W: up
A: left
S: down
D: right
Tested gamepads:
Xbox One (wired and wireless) - 100%
PS5 DualSense - 100% (experimental support)
Instruction from "Help"
"Help" languages: English, Russian
Terms of use
You can:
-To use the plugin for your non-commercial projects
-Change code of the plugin
You cannot:
-Delete or change any information about the plugin
-Distribute the plugin and its modifications
Details on obtaining a commercial license on my website
Plugin page: https://dk-plugins.ru/full-input/
Author: DKPlugins
Version: 5.3.0
Description:
All keys of the keyboard and gamepad.
Features:
- Checking the press of any key on the keyboard or gamepad
- Support for gamepad sticks and triggers
- Enabling switches when you press a key
Compatibility:
- RPG Maker MV: 1.5+
- RPG Maker MZ: 1.0+
Warning from "Help"
Default RPG Maker MV/MZ values for Alt, Space, Insert, Q, W, X, Z
Alt: 'control'
Space: 'ok'
Insert: 'escape'
Q: 'pageup'
W: 'pagedown'
X: 'escape'
Z: 'ok'
The values of this plugin for Alt, Space, Insert, Q, W, X, Z
Alt: 'alt'
Space: 'space'
Insert: 'insert'
Q: 'q'
W: 'w'
X: 'x'
Z: 'z'
# How to set WASD movement #
Change settings for WASD buttons:
W: up
A: left
S: down
D: right
Tested gamepads:
Xbox One (wired and wireless) - 100%
PS5 DualSense - 100% (experimental support)
Instruction from "Help"
###===========================================================================
## Added functions
###===========================================================================
Added tracking of gamepad triggers pressing and axis tilts
Tested on Xbox One Wireless Gamepad
Use to get values:
Input.gamepad.lt - left trigger (float value of the force of pressing in the range from 0 to 1)
Input.gamepad.rt - right trigger (float value of the force of pressing in the range from 0 to 1)
Input.gamepad.axes - axes (Array with 4 float values)
The axes have the following structure:
[X-axis (left stick), Y-axis (left stick), X-axis (right stick), Y-axis (right stick)]
X-axis (any stick) is -1 when you tilt the stick to the left
X-axis (any stick) is 1 when you tilt the stick to the right
Y-axis (any stick) is -1 when you tilt the stick up
Y-axis (any stick) is 1 when you tilt the stick down
Input.preferGamepad () - Returns true if the player is playing a gamepad
Input.isAnyPressed(keys) - Returns true if at least one key is pressed (keys not specified).
Returns true if at least one key from the keys array is pressed (keys is an array of keys).
Input.isAnyTriggered(keys) - Returns true if at least one key is pressed and released (keys not specified).
Returns true if at least one key from the keys array is pressed and released (keys is an array of keys).
Input.isAnyRepeated(keys) - Returns true if pressing at least one key is repeated (keys not specified).
Returns true if pressing at least one key from the keys array is repeated (keys is an array of keys).
Input.isAnyLongPressed(keys) - Returns true if at least one key is pressed for a long time (keys not specified).
Returns true if at least one key from the keys array is pressed for a long time (keys is an array of keys).
Input.getPressedTime (keyName) - Returns the time the keyName was pressed in frames.
Input.virtualClick(keyName) - Emulation of pressing the keyName button.
Input.resetKeyboardButtons() - Resets the keyboard buttons
Input.resetGamepadButtons() - Resets the gamepad buttons
If you create a plugin based on this:
Before using any function, make sure that the user has installed the plugin:
if (Imported.DK_Full_Input) {}
Get plugin version:
var version = Imported.DK_Full_Input;
## Added functions
###===========================================================================
Added tracking of gamepad triggers pressing and axis tilts
Tested on Xbox One Wireless Gamepad
Use to get values:
Input.gamepad.lt - left trigger (float value of the force of pressing in the range from 0 to 1)
Input.gamepad.rt - right trigger (float value of the force of pressing in the range from 0 to 1)
Input.gamepad.axes - axes (Array with 4 float values)
The axes have the following structure:
[X-axis (left stick), Y-axis (left stick), X-axis (right stick), Y-axis (right stick)]
X-axis (any stick) is -1 when you tilt the stick to the left
X-axis (any stick) is 1 when you tilt the stick to the right
Y-axis (any stick) is -1 when you tilt the stick up
Y-axis (any stick) is 1 when you tilt the stick down
Input.preferGamepad () - Returns true if the player is playing a gamepad
Input.isAnyPressed(keys) - Returns true if at least one key is pressed (keys not specified).
Returns true if at least one key from the keys array is pressed (keys is an array of keys).
Input.isAnyTriggered(keys) - Returns true if at least one key is pressed and released (keys not specified).
Returns true if at least one key from the keys array is pressed and released (keys is an array of keys).
Input.isAnyRepeated(keys) - Returns true if pressing at least one key is repeated (keys not specified).
Returns true if pressing at least one key from the keys array is repeated (keys is an array of keys).
Input.isAnyLongPressed(keys) - Returns true if at least one key is pressed for a long time (keys not specified).
Returns true if at least one key from the keys array is pressed for a long time (keys is an array of keys).
Input.getPressedTime (keyName) - Returns the time the keyName was pressed in frames.
Input.virtualClick(keyName) - Emulation of pressing the keyName button.
Input.resetKeyboardButtons() - Resets the keyboard buttons
Input.resetGamepadButtons() - Resets the gamepad buttons
If you create a plugin based on this:
Before using any function, make sure that the user has installed the plugin:
if (Imported.DK_Full_Input) {}
Get plugin version:
var version = Imported.DK_Full_Input;
"Help" languages: English, Russian
Terms of use
You can:
-To use the plugin for your non-commercial projects
-Change code of the plugin
You cannot:
-Delete or change any information about the plugin
-Distribute the plugin and its modifications
Details on obtaining a commercial license on my website
Plugin page: https://dk-plugins.ru/full-input/
Last edited: