| 307 | } |
| 308 | |
| 309 | void close() |
| 310 | { |
| 311 | for (u32 ii = 0; ii < CROWN_MAX_JOYPADS; ++ii) { |
| 312 | if (_fd[ii] != -1) { |
| 313 | ::close(_fd[ii]); |
| 314 | _fd[ii] = -1; |
| 315 | _queue->push_status_event(InputDeviceType::JOYPAD, ii, false); |
| 316 | } |
| 317 | } |
| 318 | } |
| 319 | |
| 320 | void process_events(u32 joypad_id, const JoypadEvent *events, u32 num_events) |
| 321 | { |
no outgoing calls
no test coverage detected