DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnKeyboardDisconnected()

void Input::OnKeyboardDisconnected ( )
inlineprivate

callback that is fired when keyboard is disconnected does not fire on PC - mouse/keyboard assumed to always be connected

См. определение в файле input.c строка 428

429 {
430 if (!g_Game)
431 return;
432
434 if (!g_Game.IsLoading() && g_Game.GetMission())
435 {
436 DayZLoadState state = g_Game.GetLoadState();
437 if (state != DayZLoadState.MAIN_MENU_START && state != DayZLoadState.MAIN_MENU_USER_SELECT)
438 {
439 g_Game.GetMission().GetOnInputDeviceDisconnected().Invoke(EUAINPUT_DEVICE_KEYBOARD);
440 }
441 }
442 }
DayZGame g_Game
Определения DayZGame.c:3942
void UpdateConnectedInputDeviceList()
currently lists only available Gamepad, Mouse, and Keyboard. Extendable as needed.
Определения input.c:235

Перекрестные ссылки g_Game и UpdateConnectedInputDeviceList().