| 159 | static const XInputMap_Joystick Map_JoystickRight(10, 11, 12, 13); |
| 160 | |
| 161 | const XInputMap_Joystick * getJoyFromEnum(XInputControl ctrl) { |
| 162 | switch (ctrl) { |
| 163 | case(JOY_LEFT): return &Map_JoystickLeft; |
| 164 | case(JOY_RIGHT): return &Map_JoystickRight; |
| 165 | default: return nullptr; |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | // -------------------------------------------------------- |
| 170 | // XInput Rumble Maps | |
no outgoing calls
no test coverage detected