Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Resource icon

RPG Maker DK Full Input 2.1

No permission to download
### Description ###
All keys on the keyboard and gamepad

### Features ###
  • Change the destination keys: Alt, Space, Insert, Q, W, E, Z (You are free to bring them back to the original state)
  • Also changed left and added the right stick gamepad
  • 96 keys of keyboard
  • 24 keys of gamepad
  • Added functions for check pressed key code (checking the key code and etc.)

### Warning ###
The plugin contains the settings in the file

Be careful with downloading plugins to the project folder
Some plugins have settings in his file
At update this settings can be overwritten

### Important information ###
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'

Left stick of gamepad separated from keys of controls (arrows) and have him own settings
Default values for left stick at RPG Maker MV: up, down, left, right
Values for left stick at this plugin: l_up, l_down, l_left, l_right

Values for right stick at this plugin: r_up, r_down, r_left, r_right

### Instruction ###
Open DK_Full_Input.js and customize keys

### For developers ###
All functions return name of pressed button
If button was don't pressed, then function returns null

return_code - return key code ? true or false
If return_code is false, then will return name of button

Added functions for check pressed key code:

Input.keyPressed(code, gamepad_code, return_code)
Input.keyTriggered(code, gamepad_code, return_code)
Input.keyRepeated(code, gamepad_code, return_code)
Input.keyLongPressed(code, gamepad_code, return_code)

code - keyboard key code
gamepad_code - gamepad key code

If need check only gamepad, write null instead the codes

Functions to check any directions of moving buttons:
Checking is carried out for the symbols: up, down, left, right
Input.anyDirectionPressed(return_code)
Input.anyDirectionTriggered(return_code)
Input.anyDirectionRepeated(return_code)
Input.anyDirectionLongPressed(return_code)

Functions to check deflection of left stick to any direction:
Checking is carried out for the symbols: l_up, l_down, l_left, l_right
Input.anyLDirectionPressed(return_code)
Input.anyLDirectionTriggered(return_code)
Input.anyLDirectionRepeated(return_code)
Input.anyLDirectionLongPressed(return_code)

Functions to check deflection of right stick to any direction:
Checking is carried out for the symbols: r_up, r_down, r_left, r_right
Input.anyRDirectionPressed(return_code)
Input.anyRDirectionTriggered(return_code)
Input.anyRDirectionRepeated(return_code)
Input.anyRDirectionLongPressed(return_code)

Functions to check one of many buttons with key codes:
Input.anyKeyPressed(codes, gamepad_codes, return_code)
Input.anyKeyTriggered(codes, gamepad_codes, return_code)
Input.anyKeyRepeated(codes, gamepad_codes, return_code)
Input.anyKeyLongPressed(codes, gamepad_codes, return_code)

codes - array of codes keyboard buttons
gamepad_codes - array of codes gamepad buttons

If need check only gamepad, write null instead the code

Functions to check one of many buttons with key names:
Input.anyPressed(keys, return_code)
Input.anyTriggered(keys, return_code)
Input.anyRepeated(keys, return_code)
Input.anyLongPressed(keys, return_code)

keys - array of buttons name

Functions to check pressing of any numbers:
Input.anyNumberPressed(return_code)
Input.anyNumberTriggered(return_code)
Input.anyNumberRepeated(return_code)
Input.anyNumberLongPressed(return_code)

Functions to check pressing of any Numpad buttons:
Input.anyNumpadPressed(return_code)
Input.anyNumpadTriggered(return_code)
Input.anyNumpadRepeated(return_code)
Input.anyNumpadLongPressed(return_code)

Functions to check pressing of any alphabet letters:
Input.anyAlphabetPressed(return_code)
Input.anyAlphabetTriggered(return_code)
Input.anyAlphabetRepeated(return_code)
Input.anyAlphabetLongPressed(return_code)

Functions to check pressing of any F1-F12 button:
Input.anyFPressed(return_code)
Input.anyFTriggered(return_code)
Input.anyFRepeated(return_code)
Input.anyFLongPressed(return_code)

Also added functions for checking pressed Backspace, Tab, Enter, Shift, Ctrl, Alt, Escape, Space

Backspace:
Input.BackspacePressed()
Input.BackspaceTriggered()
Input.BackspaceRepeated()
Input.BackspaceLongPressed()

Tab:
Input.TabPressed()
Input.TabTriggered()
Input.TabRepeated()
Input.TabLongPressed()

Enter:
Input.EnterPressed()
Input.EnterTriggered()
Input.EnterRepeated()
Input.EnterLongPressed()

Shift:
Input.ShiftPressed()
Input.ShiftTriggered()
Input.ShiftRepeated()
Input.ShiftLongPressed()

Ctrl:
Input.CtrlPressed()
Input.CtrlTriggered()
Input.CtrlRepeated()
Input.CtrlLongPressed()

Alt:
Input.AltPressed()
Input.AltTriggered()
Input.AltRepeated()
Input.AltLongPressed()

Escape:
Input.EscapePressed()
Input.EscapeTriggered()
Input.EscapeRepeated()
Input.EscapeLongPressed()

Space:
Input.SpacePressed()
Input.SpaceTriggered()
Input.SpaceRepeated()
Input.SpaceLongPressed()

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 = DKVersion.DK_Full_Input;

### License and terms of use for plugin ###
You can:
-Free use the plugin for your commercial and non commercial projects.
-Translate the plugin to other languages (please, inform, if you do this)

You can't:
-Delete or change any information about plugin (Title, authorship, contact information, version and release)
-Change code of plugin out of border "Plugin settings" and "End of plugin settings" (if you found a bug contact me)
Author
DKPlugins
Downloads
79
Views
236
First release
Last update
Rating
1.00 star(s) 1 ratings

More resources from DKPlugins

Latest updates

  1. Bug fixes and improvements

    Fix for 'y' button Added '/' button Optimisation and documentation

Latest reviews

HORRRRRRRRRRRRRRRRRIBLE I CANT EVEN DOWNLOAD THE PLUGIN DK IS REALLY BAD AT THIS STUFF!!!!!!!!!!!!!!!!!!!!!!!!!!
Top