I have some questions about controlling a game made with RMMZ using a gamepad.
I don't have a controller for PC, so I just can't test it to figure out the answers myself.
I want to know:
1. To which kind of controller do the comments next to the numbers refer to? Is this X-Box or some kind of special PC controller?
2. Are the remaining numbers 6 - 11 just not used by RMMZ or aren't they mapped to any button?
3. If the remaining numbers are mapped to any button, to which buttons are they mapped to?
Here is the excerpt from the core scripts:
I don't have a controller for PC, so I just can't test it to figure out the answers myself.
I want to know:
1. To which kind of controller do the comments next to the numbers refer to? Is this X-Box or some kind of special PC controller?
2. Are the remaining numbers 6 - 11 just not used by RMMZ or aren't they mapped to any button?
3. If the remaining numbers are mapped to any button, to which buttons are they mapped to?
Here is the excerpt from the core scripts:
Code:
/**
* A hash table to convert from a gamepad button to a mapped key name.
*
* @type Object
*/
Input.gamepadMapper = {
0: "ok", // A
1: "cancel", // B
2: "shift", // X
3: "menu", // Y
4: "pageup", // LB
5: "pagedown", // RB
12: "up", // D-pad up
13: "down", // D-pad down
14: "left", // D-pad left
15: "right" // D-pad right
};