callback that is fired when keyboard is connected (PS: and assigned to the user) does not fire on PC - mouse/keyboard assumed to always be connected
См. определение в файле input.c строка 410
411 {
413 return;
414
417 {
418 DayZLoadState state =
g_Game.GetLoadState();
419 if (state != DayZLoadState.MAIN_MENU_START && state != DayZLoadState.MAIN_MENU_USER_SELECT)
420 {
421 g_Game.GetMission().GetOnInputDeviceConnected().Invoke(EUAINPUT_DEVICE_KEYBOARD);
422 }
423 }
424 }
Перекрестные ссылки g_Game и UpdateConnectedInputDeviceList().