MCPcopy Index your code
hub / github.com/phaserjs/phaser / handler

Function handler

src/input/gamepad/GamepadPlugin.js:260–271  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

258 var target = this.target;
259
260 var handler = function (event)
261 {
262 if (event.defaultPrevented || !_this.isActive())
263 {
264 // Do nothing if event already handled
265 return;
266 }
267
268 _this.refreshPads();
269
270 _this.queue.push(event);
271 };
272
273 this.onGamepadHandler = handler;
274

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…