mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-11-22 02:58:21 +01:00
29 lines
407 B
TypeScript
29 lines
407 B
TypeScript
/**
|
|
* Nintendo Pro Controller mapping
|
|
*/
|
|
const pad_procon = {
|
|
padID: "Pro Controller",
|
|
padType: "Nintendo",
|
|
gamepadMapping: {
|
|
RC_S: 1,
|
|
RC_E: 0,
|
|
RC_W: 3,
|
|
RC_N: 2,
|
|
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,
|
|
MENU: 16, // Home
|
|
},
|
|
};
|
|
|
|
export default pad_procon;
|