Const
Event for when gamepad button/axis state is updated Data passed : {number} index Data passed : {string} type : "axes" or "buttons" Data passed : {number} button Data passed : {number} current.value Data passed : {boolean} current.pressed
event.on
Event for when gamepad button/axis state is updated
Data passed : {number} index
Data passed : {string} type : "axes" or "buttons"
Data passed : {number} button
Data passed : {number} current.value
Data passed : {boolean} current.pressed