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

Method update

src/device/input_manager.cpp:426–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426void InputManager::update()
427{
428 _keyboard->update();
429
430 if (!_has_delta_axis_event) {
431 _mouse->set_axis(MouseAxis::CURSOR_DELTA
432 , 0
433 , 0
434 , 0
435 );
436 }
437 _has_delta_axis_event = false;
438 _mouse->update();
439
440 _touch->update();
441
442 for (u8 i = 0; i < CROWN_MAX_JOYPADS; ++i)
443 _joypad[i]->update();
444
445 _num_events = 0;
446}
447
448} // namespace crown

Callers

nothing calls this directly

Calls 1

set_axisMethod · 0.80

Tested by

no test coverage detected