| 259 | } |
| 260 | |
| 261 | void I_zeroGameInput() |
| 262 | { |
| 263 | std::memset(input.gamepad.bButtons_state[0], 0, |
| 264 | sizeof(input.gamepad.bButtons)); |
| 265 | std::memset(input.keyboard.bKeys_state[0], 0, sizeof(input.keyboard.bKeys)); |
| 266 | std::memset(input.gamepad.bButtons_state[1], 0, |
| 267 | sizeof(input.gamepad.bButtons)); |
| 268 | std::memset(input.keyboard.bKeys_state[1], 0, sizeof(input.keyboard.bKeys)); |
| 269 | std::memset(input.gamepad.bHat_state[0], 0, sizeof(input.gamepad.bHat)); |
| 270 | std::memset(input.gamepad.bHat_state[1], 0, sizeof(input.gamepad.bHat)); |
| 271 | } |
| 272 | |
| 273 | bool G_playEvent(std::string name, bool loop) |
| 274 | { |
no outgoing calls
no test coverage detected