| 185 | } |
| 186 | |
| 187 | static float QueryJoystickButton(const Input& in, int index, bool checkFocus) |
| 188 | { |
| 189 | if (checkFocus && in.gameFocusLost > 0) |
| 190 | return 0; |
| 191 | if (index < 0) |
| 192 | return 0; |
| 193 | return in.gamepad.stickButtons[index]; |
| 194 | } |
| 195 | |
| 196 | static bool QueryJoystickButtonToDo(Input& in, int index, bool reset, bool checkFocus) |
| 197 | { |
no outgoing calls
no test coverage detected