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

◆ OnMouseDisconnected()

void Input::OnMouseDisconnected ( )
inlineprivate

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

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

393 {
394 if (!g_Game)
395 return;
396
398 if (!g_Game.IsLoading() && g_Game.GetMission())
399 {
400 DayZLoadState state = g_Game.GetLoadState();
401 if (state != DayZLoadState.MAIN_MENU_START && state != DayZLoadState.MAIN_MENU_USER_SELECT)
402 {
403 g_Game.GetMission().GetOnInputDeviceDisconnected().Invoke(EUAINPUT_DEVICE_MOUSE);
404 }
405 }
406 }
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().