Plugin options into plugins.js
This commit is contained in:
parent
e5e86cb762
commit
f4a3ccd460
2 changed files with 12 additions and 5 deletions
|
@ -6,12 +6,13 @@
|
|||
//=============================================================================
|
||||
class ONSControls {};
|
||||
//=============================================================================
|
||||
// * Options
|
||||
// * Plugin options
|
||||
//=============================================================================
|
||||
ONSControls.parameters = PluginManager.parameters('VND_ONSControls');
|
||||
ONSControls.options = {
|
||||
zIndex: 1488,
|
||||
gamepadId: "Xbox Wireless Controller (STANDARD GAMEPAD Vendor: 045e Product: 02e0)",
|
||||
gamepadIndex: 0
|
||||
zIndex: this.parameters.zIndex,
|
||||
gamepadId: String(this.parameters.gamepadId),
|
||||
gamepadIndex: this.parameters.gamepadIndex
|
||||
}
|
||||
//=============================================================================
|
||||
// * Controls canvas
|
||||
|
@ -562,4 +563,5 @@ ONSControls.initialize = function() {
|
|||
this.createAdditionalButtons();
|
||||
this.updateButtons();
|
||||
VirtualGamepad.connect();
|
||||
Window_OmoMenuOptionsONSControls.prototype.add();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue