Skip to content

Commit fa2e274

Browse files
committed
New gamepad target config property
1 parent a2c20a9 commit fa2e274

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/boot/Config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,11 @@ var Config = new Class({
263263
*/
264264
this.inputGamepad = GetValue(config, 'input.gamepad', false);
265265

266+
/**
267+
* @const {*} Phaser.Boot.Config#inputGamepadEventTarget - [description]
268+
*/
269+
this.inputGamepadEventTarget = GetValue(config, 'input.gamepad.target', window);
270+
266271
/**
267272
* @const {boolean} Phaser.Boot.Config#disableContextMenu - [description]
268273
*/

0 commit comments

Comments
 (0)