MCPcopy Create free account
hub / github.com/Prograda/Skybolt / setKeyboardEnabled

Method setKeyboardEnabled

src/Skybolt/SkyboltEngine/CameraInputSystem.cpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void CameraInputSystem::setKeyboardEnabled(bool enabled)
39{
40 for (InputDevicePtr device : mInputPlatform->getInputDevicesOfType(InputDeviceTypeKeyboard))
41 {
42 device->setEnabled(enabled);
43 }
44}
45
46static float getAxisValueOrDefault(const CameraInputAxes& axes, CameraInputAxisType type, float defaultValue)
47{

Callers 1

Calls 2

getInputDevicesOfTypeMethod · 0.45
setEnabledMethod · 0.45

Tested by

no test coverage detected