callback that is fired when mouse is connected (PS: and assigned to the user) does not fire on PC - mouse/keyboard assumed to always be connected
См. определение в файле input.c строка 374
375 {
377 return;
378
381 {
382 DayZLoadState state =
g_Game.GetLoadState();
383 if (state != DayZLoadState.MAIN_MENU_START && state != DayZLoadState.MAIN_MENU_USER_SELECT)
384 {
385 g_Game.GetMission().GetOnInputDeviceConnected().Invoke(EUAINPUT_DEVICE_MOUSE);
386 }
387 }
388 }
Перекрестные ссылки g_Game и UpdateConnectedInputDeviceList().