- Joined
- Mar 30, 2016
- Messages
- 214
- Reaction score
- 269
- First Language
- Russian
- Primarily Uses
- RMMV
Title: Full Input
Version: 4.0.0
Author: DKPlugins
Description:
All keys of the keyboard and gamepad.
Requirements and dependencies:
Default RPG Maker MV 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'
Instruction from "Help"
"Help" languages: English, Russian
Download: https://dk-plugins.ru/mv/input/full-input/
Version: 4.0.0
Author: DKPlugins
Description:
All keys of the keyboard and gamepad.
Requirements and dependencies:
- Availability of working plugin DKTools version 8.3.0 or above
- Version of RPG Maker 1.6+
- Version of project 1.6+
- Checking the press of any key on the keyboard or gamepad
- Support for gamepad sticks and triggers
- Enabling switches when you press a key
Default RPG Maker MV 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'
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)]
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.
If you create a plugin based on this:
Before using any function, make sure that the user has installed the plugin:
if (Imported.DKTools_Full_Input) {}
Get plugin version:
var version = Imported.DKTools_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)]
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.
If you create a plugin based on this:
Before using any function, make sure that the user has installed the plugin:
if (Imported.DKTools_Full_Input) {}
Get plugin version:
var version = Imported.DKTools_Full_Input;
"Help" languages: English, Russian
Download: https://dk-plugins.ru/mv/input/full-input/
Last edited:




