DIFF

class InputUtilsSource

Constants 6

static const string PRESET_OLD = "#STR_UAPRESET_0"
static const string PRESET_NEW = "#STR_UAPRESET_1"
static const int VARIANT_OLD = 0
static const int VARIANT_NEW = 1

Members 3

static int m_CurrentPresetIDConsole = -1
static protected ref map<int, ref array<int>> m_InputActionSortingMap

sorting_idx,<input_ID>>

static protected ref array<int> m_UnsortedInputActions

Methods 13

static map<int,ref TStringArray> GetComboButtonNamesFromInput(string pInputName, int pInputDeviceType)

returns a map of button names, combo or not

static array<string> GetButtonIconPathFromInput(notnull UAInput pInput, int pInputDeviceType = EUAINPUT_DEVICE_CONTROLLER)
static array<string> GetButtonIconPathFromInput(string pInputName, int pInputDeviceType)
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)
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

static int GetConsolePresetID()