class InputUtilsSource
Constants 6
static const string PRESET_OLD = "#STR_UAPRESET_0"static const string PRESET_NEW = "#STR_UAPRESET_1"Referenced by ControlsXboxNew.UpdateToolbarText()
static const int VARIANT_OLD = 0Referenced by UpdateConsolePresetID()
static const int VARIANT_NEW = 1Referenced by UpdateConsolePresetID()
static const float ICON_SCALE_NORMAL = 1.21static const float ICON_SCALE_TOOLBAR = 1.81Referenced by CharacterCreationMenu.UpdateControlsElements(), ConnectionDialogue.Init(), ControlsXbox.Init()
Show 19 more
, ControlsXboxNew.UpdateControlsElements(), CreditsMenu.UpdateInfoPanelText(), GesturesMenu.UpdateControlsElements(), InGameMenuXbox.UpdateControlsElements(), Inventory.GetConsoleToolbarText(), InviteMenu.UpdateControlsElements(), LoginQueueBase.Init(), LoginTimeBase.Init(), LogoutMenu.UpdateControlsElementVisibility(), MainMenuConsole.UpdateControlsElements(), MainMenuVideo.UpdateControlsElements(), MapMenu.UpdateControlsElements(), OptionsMenu.UpdateControlsElements(), PasswordMenuToolbarHandler.UpdateControlsElements(), RadialQuickbarMenu.UpdateControlsElements(), ServerBrowserMenuNew.UpdateControlsElements(), TabberUI.UpdateControlsElements(), TutorialsMenu.UpdateControlsElements(), and WarningMenuBase.UpdateControlsElements()Members 3
static int m_CurrentPresetIDConsole = -1sorting_idx,<input_ID>>
Methods 13
References UAInput.AlternativeCount(), UAInput.CheckBindDevice(), UAInput.GetBindKey()
Show 4 more
, UAInputAPI.GetButtonName(), UAInputAPI.GetInputByName(), GetUApi(), and UAInput.SelectAlternative()Referenced by ActionTargetsCursor.SetInteractActionIcon()
static map<int,ref TStringArray> GetComboButtonNamesFromInput(string pInputName, int pInputDeviceType)returns a map of button names, combo or not
Referenced by GestureMenuItem.GetBoundButtonText()
static array<string> GetButtonIconPathFromInput(notnull UAInput pInput, int pInputDeviceType = EUAINPUT_DEVICE_CONTROLLER)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)switch back button
static string GetRichtextButtonIconFromInputAction(notnull UAInput pInput, string pLocalizedDescription, int pInputDeviceType = EUAINPUT_DEVICE_CONTROLLER, float pScale = ICON_SCALE_NORMAL, bool pVertical = false)References array.Count(), string.Format(), array.Get()
Show 2 more
, array.Get(), and GetImagesetAndIconFromInputAction()Referenced by ActionTargetsCursor.SetControllerIcon(), CharacterCreationMenu.UpdateControlsElements(), ConnectionDialogue.Init()
Show 27 more
, ConnectionDialogue.OnInputDeviceChanged(), ControlsXbox.Init(), ControlsXboxNew.UpdateControlsElements(), CreditsMenu.UpdateInfoPanelText(), GesturesMenu.UpdateControlsElements(), InGameMenuXbox.UpdateControlsElements(), GetRichtextButtonIconFromInputAction(), Inventory.GetConsoleToolbarText(), Inventory.Inventory(), InviteMenu.UpdateControlsElements(), ItemActionsWidget.SetControllerIcon(), LoginQueueBase.Init(), LoginTimeBase.Init(), LogoutMenu.UpdateControlsElementVisibility(), MainMenuConsole.OnInputDeviceChanged(), MainMenuConsole.UpdateControlsElements(), MainMenuVideo.UpdateControlsElements(), MapMenu.UpdateControlsElements(), NewsCarousel.GetButtonLabel(), OptionsMenu.UpdateControlsElements(), PasswordMenuToolbarHandler.UpdateControlsElements(), RadialQuickbarMenu.UpdateControlsElements(), ServerBrowserMenuNew.Init(), ServerBrowserMenuNew.UpdateControlsElements(), TabberUI.UpdateControlsElements(), TutorialsMenu.UpdateControlsElements(), and WarningMenuBase.UpdateControlsElements()static string GetRichtextButtonIconFromInputAction(string pInputAction, string pLocalizedDescription, int pInputDeviceType = EUAINPUT_DEVICE_CONTROLLER, float pScale = ICON_SCALE_NORMAL, bool pVertical = false)first element is already taken
References GetImagesetAndIconFromInputAction(), UAInputAPI.GetInputByName(), GetRichtextButtonIconFromInputAction()
Show 1 more
, GetUApi()Referenced by ActionTargetsCursor.SetControllerIcon(), CharacterCreationMenu.UpdateControlsElements(), ConnectionDialogue.Init()
Show 27 more
, ConnectionDialogue.OnInputDeviceChanged(), ControlsXbox.Init(), ControlsXboxNew.UpdateControlsElements(), CreditsMenu.UpdateInfoPanelText(), GesturesMenu.UpdateControlsElements(), InGameMenuXbox.UpdateControlsElements(), GetRichtextButtonIconFromInputAction(), Inventory.GetConsoleToolbarText(), Inventory.Inventory(), InviteMenu.UpdateControlsElements(), ItemActionsWidget.SetControllerIcon(), LoginQueueBase.Init(), LoginTimeBase.Init(), LogoutMenu.UpdateControlsElementVisibility(), MainMenuConsole.OnInputDeviceChanged(), MainMenuConsole.UpdateControlsElements(), MainMenuVideo.UpdateControlsElements(), MapMenu.UpdateControlsElements(), NewsCarousel.GetButtonLabel(), OptionsMenu.UpdateControlsElements(), PasswordMenuToolbarHandler.UpdateControlsElements(), RadialQuickbarMenu.UpdateControlsElements(), ServerBrowserMenuNew.Init(), ServerBrowserMenuNew.UpdateControlsElements(), TabberUI.UpdateControlsElements(), TutorialsMenu.UpdateControlsElements(), and WarningMenuBase.UpdateControlsElements()static void UpdateConsolePresetID()References CGame.GetInput(), Input.GetProfileName(), GetUApi()
Show 5 more
, UAInputAPI.PresetCurrent(), m_CurrentPresetIDConsole, PRESET_OLD, VARIANT_NEW, and VARIANT_OLDstatic int GetConsolePresetID()References m_CurrentPresetIDConsole
Referenced by ControlsXboxNew.UpdateTabContent()
References m_InputActionSortingMap
References m_UnsortedInputActions
static bool InitInputMetadata()Referenced by KeybindingsMenu.InitInputSortingMap()