callback that is fired when keyboard is disconnected does not fire on PC - mouse/keyboard assumed to always be connected
См. определение в файле input.c строка 428
429 {
431 return;
432
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 }
Перекрестные ссылки g_Game и UpdateConnectedInputDeviceList().