![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Static Protected Member Functions | |
| static array< string > | GetButtonIconPathFromInput (notnull UAInput pInput, int pInputDeviceType=EUAINPUT_DEVICE_CONTROLLER) |
| static array< string > | GetButtonIconPathFromInput (string pInputName, int pInputDeviceType) |
| static string | GetButtonNameFromInput (string pInputName, int pInputDeviceType) |
| static map< int, ref TStringArray > | GetComboButtonNamesFromInput (string pInputName, int pInputDeviceType) |
| returns a map of button names, combo or not | |
| static int | GetConsolePresetID () |
| static void | GetImagesetAndIconFromInputAction (notnull UAInput pInput, int pInputDeviceType, out array< string > pImageSet, out array< string > pIconName) |
| static void | GetImagesetAndIconFromInputAction (string pInputAction, int pInputDeviceType, out array< string > pImageSet, out array< string > pIconName) |
| static map< int, ref array< int > > | GetInputActionSortingMap () |
| static string | GetRichtextButtonIconFromInputAction (notnull UAInput pInput, string pLocalizedDescription, int pInputDeviceType=EUAINPUT_DEVICE_CONTROLLER, float pScale=ICON_SCALE_NORMAL, bool pVertical=false) |
| static string | GetRichtextButtonIconFromInputAction (string pInputAction, string pLocalizedDescription, int pInputDeviceType=EUAINPUT_DEVICE_CONTROLLER, float pScale=ICON_SCALE_NORMAL, bool pVertical=false) |
| static array< int > | GetUnsortedInputActions () |
| static bool | InitInputMetadata () |
| static void | UpdateConsolePresetID () |
Static Protected Attributes | |
| static const float | ICON_SCALE_NORMAL = 1.21 |
| static const float | ICON_SCALE_TOOLBAR = 1.81 |
| ref map< int, ref array< int > > | m_InputActionSortingMap |
| ref array< int > | m_UnsortedInputActions |
Static Private Attributes | |
| static int | m_CurrentPresetIDConsole = -1 |
| static const string | PRESET_NEW = "#STR_UAPRESET_1" |
| static const string | PRESET_OLD = "#STR_UAPRESET_0" |
| static const int | VARIANT_NEW = 1 |
| static const int | VARIANT_OLD = 0 |
Definition at line 1 of file inpututils.c.
|
inlinestaticprotected |
Definition at line 77 of file inpututils.c.
References GetUApi().
Referenced by GetButtonIconPathFromInput(), and GetImagesetAndIconFromInputAction().
|
inlinestaticprotected |
Definition at line 108 of file inpututils.c.
References GetButtonIconPathFromInput(), UAInputAPI::GetInputByName(), and GetUApi().
Definition at line 17 of file inpututils.c.
References UAInput::AlternativeCount(), UAInput::CheckBindDevice(), UAInput::GetBindKey(), UAInputAPI::GetButtonName(), UAInputAPI::GetInputByName(), GetUApi(), and UAInput::SelectAlternative().
Referenced by ActionTargetsCursor::SetInteractActionIcon().
|
inlinestaticprotected |
returns a map of button names, combo or not
Definition at line 33 of file inpututils.c.
References UAInput::AlternativeCount(), UAInput::Binding(), UAInput::BindingCount(), UAInput::CheckBindDevice(), UAInput::GetBindKey(), UAInputAPI::GetInputByName(), GetUApi(), UAInput::IsCombo(), and UAInput::SelectAlternative().
Referenced by GetBoundButtonText().
|
inlinestaticprotected |
Definition at line 224 of file inpututils.c.
References m_CurrentPresetIDConsole.
Referenced by UIScriptedMenu::UpdateTabContent().
|
inlinestaticprotected |
Asia vs Europe/N.America controller layout
Definition at line 118 of file inpututils.c.
References g_Game, and GetButtonIconPathFromInput().
Referenced by GetImagesetAndIconFromInputAction(), GetRichtextButtonIconFromInputAction(), and GetRichtextButtonIconFromInputAction().
|
inlinestaticprotected |
Definition at line 160 of file inpututils.c.
References GetImagesetAndIconFromInputAction(), UAInputAPI::GetInputByName(), and GetUApi().
Definition at line 229 of file inpututils.c.
References m_InputActionSortingMap.
Referenced by array< string >::AddSubgroup(), array< string >::CreateSubgroups(), and UIScriptedMenu::CreateTabs().
|
inlinestaticprotected |
first element is already taken
Definition at line 167 of file inpututils.c.
References string::Format(), GetImagesetAndIconFromInputAction(), and ICON_SCALE_NORMAL.
Referenced by GetButtonLabel(), GetRichtextButtonIconFromInputAction(), Init(), LoginScreenBase::Init(), UIScriptedMenu::Init(), Inventory(), UIScriptedMenu::OnInputDeviceChanged(), ActionTargetsCursor::SetControllerIcon(), ScriptedWidgetEventHandler::SetControllerIcon(), ScriptedWidgetEventHandler::UpdateControlsElements(), UIScriptedMenu::UpdateControlsElements(), WarningMenuBase::UpdateControlsElements(), and UIScriptedMenu::UpdateInfoPanelText().
|
inlinestaticprotected |
Definition at line 198 of file inpututils.c.
References GetImagesetAndIconFromInputAction(), UAInputAPI::GetInputByName(), GetRichtextButtonIconFromInputAction(), GetUApi(), and ICON_SCALE_NORMAL.
Definition at line 234 of file inpututils.c.
References m_UnsortedInputActions.
Referenced by array< string >::AddSubgroup(), array< string >::CreateSubgroups(), and UIScriptedMenu::CreateTabs().
|
inlinestaticprotected |
Definition at line 239 of file inpututils.c.
References UAInputAPI::GetActiveInputs(), UAInputAPI::GetInputByID(), GetUApi(), UAInput::HasSorting(), m_InputActionSortingMap, m_UnsortedInputActions, and UAInputAPI::SortingCount().
Referenced by UIScriptedMenu::InitInputSortingMap().
|
inlinestaticprotected |
Definition at line 209 of file inpututils.c.
References g_Game, GetUApi(), m_CurrentPresetIDConsole, PRESET_OLD, VARIANT_NEW, and VARIANT_OLD.
Referenced by UIScriptedMenu::ComposeData(), and UIScriptedMenu::PerformSwitchPreset().
|
staticprotected |
Definition at line 14 of file inpututils.c.
Referenced by GetRichtextButtonIconFromInputAction(), GetRichtextButtonIconFromInputAction(), UIScriptedMenu::Init(), and UIScriptedMenu::OnInputDeviceChanged().
|
staticprotected |
Definition at line 15 of file inpututils.c.
Referenced by Init(), LoginScreenBase::Init(), UIScriptedMenu::Init(), ScriptedWidgetEventHandler::UpdateControlsElements(), UIScriptedMenu::UpdateControlsElements(), WarningMenuBase::UpdateControlsElements(), and UIScriptedMenu::UpdateInfoPanelText().
|
staticprivate |
Definition at line 8 of file inpututils.c.
Referenced by GetConsolePresetID(), and UpdateConsolePresetID().
Definition at line 11 of file inpututils.c.
Referenced by GetInputActionSortingMap(), and InitInputMetadata().
Definition at line 12 of file inpututils.c.
Referenced by GetUnsortedInputActions(), and InitInputMetadata().
|
staticprivate |
Definition at line 5 of file inpututils.c.
Referenced by UIScriptedMenu::UpdateToolbarText().
|
staticprivate |
Definition at line 4 of file inpututils.c.
Referenced by UpdateConsolePresetID(), and UIScriptedMenu::UpdateToolbarText().
|
staticprivate |
Definition at line 7 of file inpututils.c.
Referenced by UpdateConsolePresetID().
|
staticprivate |
Definition at line 6 of file inpututils.c.
Referenced by UpdateConsolePresetID().