UNPKG

react-gamepad

Version:

A Gamepad handler as a React component

10 lines (9 loc) 387 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { buttons: ['A', 'B', 'X', 'Y', 'LB', 'RB', 'LT', 'RT', 'Back', 'Start', 'LS', 'RS', 'DPadUp', 'DPadDown', 'DPadLeft', 'DPadRight'], axis: ['LeftStickX', '-LeftStickY', 'RightStickX', '-RightStickY'], buttonAxis: [null, null, null, null, null, null, 'LeftTrigger', 'RightTrigger'] };