MCPcopy Create free account
hub / github.com/crownengine/crown / ~InputManager

Method ~InputManager

src/device/input_manager.cpp:240–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240InputManager::~InputManager()
241{
242 for (u8 i = 0; i < CROWN_MAX_JOYPADS; ++i)
243 input_device::destroy(*_allocator, *_joypad[i]);
244
245 input_device::destroy(*_allocator, *_touch);
246 input_device::destroy(*_allocator, *_mouse);
247 input_device::destroy(*_allocator, *_keyboard);
248}
249
250InputDevice *InputManager::device_from_type(u16 type, u16 num)
251{

Callers

nothing calls this directly

Calls 1

destroyFunction · 0.70

Tested by

no test coverage detected