UNPKG

phaser3-merged-input

Version:

A Phaser 3 plugin to handle input from keyboard, gamepad & mouse, allowing for easy key definition and multiplayer input

25 lines 418 B
/** * Generic pad mapping */ module.exports = { padID: 'Generic', padType: 'generic', gamepadMapping: { RC_S: 0, RC_E: 1, RC_W: 2, RC_N: 3, START: 9, SELECT: 8, LB: 4, RB: 5, LT: 6, RT: 7, LS: 10, RS: 11, LC_N: 12, LC_S: 13, LC_W: 14, LC_E: 15 }, }