@returns first keyboard, or null if not found
| 54 | |
| 55 | //! @returns first keyboard, or null if not found |
| 56 | static InputDevicePtr getFirstKeyboard(const skybolt::InputPlatform& platform) |
| 57 | { |
| 58 | auto keyboards = platform.getInputDevicesOfType(InputDeviceTypeKeyboard); |
| 59 | return keyboards.empty() ? nullptr : keyboards.front(); |
| 60 | } |
| 61 | |
| 62 | void CameraInputSystem::advanceWallTime(sim::SecondsD newTime, sim::SecondsD dt) |
| 63 | { |
no test coverage detected