MCPcopy Create free account
hub / github.com/crownengine/crown / close

Method close

src/device/main_linux.cpp:309–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 8

main_loopMethod · 0.45
runMethod · 0.45
write_port_fileFunction · 0.45
listenMethod · 0.45
shutdownMethod · 0.45
run_input_threadMethod · 0.45
read_requestMethod · 0.45
write_requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected