Zdexby TheHolyOneZ
42,595 classes
Class

InputManager

: Object
UnityEngine.InputSystem.InputManager, Unity.InputSystem 0x04D0 (1,232 B) inherited 0x0010 Unity.InputSystem.dll
0x00x04D0

Members 37

OffsetSizeNameTypeFlagsDefault
0x04m_LayoutRegistrationVersionint1 flags—
0x04m_PollingFrequencyfloatPrivate—
0x40m_LayoutsCollection1 flags—
0x08m_ProcessorsTypeTablePrivate—
0x08m_InteractionsTypeTablePrivate—
0x08m_CompositesTypeTablePrivate—
0x04m_DevicesCountintPrivate—
0x00740x04padding / unreflected
0x08m_DevicesInputDevice[]Private—
0x08m_DevicesByIdDictionary<System.Int32Private—
0x04m_AvailableDeviceCountint1 flags—
0x008C0x04padding / unreflected
0x08m_AvailableDevicesAvailableDevice[]1 flags—
0x04m_DisconnectedDevicesCountint1 flags—
0x009C0x04padding / unreflected
0x08m_DisconnectedDevicesInputDevice[]1 flags—
0x04m_UpdateMaskInputUpdateType1 flags—
0x04m_CurrentUpdateInputUpdateTypePrivate—
0x30m_StateBuffersInputStateBuffers1 flags—
0x50m_DeviceChangeListenersCallbackArray<System.Action<UnityEngine.InputSystem.InputDevicePrivate—
0x50m_DeviceStateChangeListenersCallbackArray<System.Action<UnityEngine.InputSystem.InputDevicePrivate—
0x50m_DeviceFindLayoutCallbacksCallbackArray<UnityEngine.InputSystem.Layouts.InputDeviceFindControlLayoutDelegate>Private—
0x50m_DeviceCommandCallbacksCallbackArray<UnityEngine.InputSystem.LowLevel.InputDeviceCommandDelegate>1 flags—
0x50m_LayoutChangeListenersCallbackArray<System.Action<System.StringPrivate—
0x50m_EventListenersCallbackArray<System.Action<UnityEngine.InputSystem.LowLevel.InputEventPtrPrivate—
0x50m_BeforeUpdateListenersCallbackArray<System.Action>Private—
0x50m_AfterUpdateListenersCallbackArray<System.Action>Private—
0x50m_SettingsChangedListenersCallbackArray<System.Action>Private—
0x01m_NativeBeforeUpdateHookedboolPrivate—
0x01m_HaveDevicesWithStateCallbackReceiversboolPrivate—
0x01m_HasFocusboolPrivate—
0x03B30x05padding / unreflected
0x78m_InputEventStreamInputEventStreamPrivate—
0x08m_DeviceFindExecuteCommandDelegateInputDeviceExecuteCommandDelegatePrivate—
0x04m_DeviceFindExecuteCommandDeviceIdintPrivate—
0x043C0x04padding / unreflected
0x08m_RuntimeIInputRuntime1 flags—
0x38m_MetricsInputMetrics1 flags—
0x08m_SettingsInputSettings1 flags—
0x01m_ShouldMakeCurrentlyUpdatingDeviceCurrentboolPrivate—
0x04890x07padding / unreflected
0x08m_StateChangeMonitorsStateChangeMonitorsForDevice[]1 flags—
0x38m_StateChangeMonitorTimeoutsInlinedArray<UnityEngine.InputSystem.InputManager.StateChangeMonitorTimeout>Private—

Functions 124

SignatureFlagsNativeParams
ReadOnlyArray<UnityEngine.InputSystem.InputDevice> get_devices()Public+1 flags0x10
TypeTable get_processors()Public+1 flags0x08
TypeTable get_interactions()Public+1 flags0x08
TypeTable get_composites()Public+1 flags0x08
InputMetrics get_metrics()Public+1 flags0x38
InputSettings get_settings()Public+1 flags0x08
void set_settings(InputSettings value)Public+1 flags0x08
InputUpdateType get_updateMask()Public+1 flags0x04
void set_updateMask(const InputUpdateType& value)Public+1 flags0x04
InputUpdateType get_defaultUpdateType()Public+1 flags0x04
float get_pollingFrequency()Public+1 flags0x04
void set_pollingFrequency(float value)Public+1 flags0x04
void add_onDeviceChange(Action<UnityEngine.InputSystem.InputDevice value)Public+1 flags0x08
void remove_onDeviceChange(Action<UnityEngine.InputSystem.InputDevice value)Public+1 flags0x08
void add_onDeviceStateChange(Action<UnityEngine.InputSystem.InputDevice value)Public+1 flags0x08
void remove_onDeviceStateChange(Action<UnityEngine.InputSystem.InputDevice value)Public+1 flags0x08
void add_onDeviceCommand(InputDeviceCommandDelegate value)Public+1 flags0x08
void remove_onDeviceCommand(InputDeviceCommandDelegate value)Public+1 flags0x08
void add_onFindControlLayoutForDevice(InputDeviceFindControlLayoutDelegate value)Public+1 flags0x08
void remove_onFindControlLayoutForDevice(InputDeviceFindControlLayoutDelegate value)Public+1 flags0x08
void add_onLayoutChange(Action<System.String value)Public+1 flags0x08
void remove_onLayoutChange(Action<System.String value)Public+1 flags0x08
void add_onEvent(Action<UnityEngine.InputSystem.LowLevel.InputEventPtr value)Public+1 flags0x08
void remove_onEvent(Action<UnityEngine.InputSystem.LowLevel.InputEventPtr value)Public+1 flags0x08
void add_onBeforeUpdate(Action value)Public+1 flags0x08
void remove_onBeforeUpdate(Action value)Public+1 flags0x08
void add_onAfterUpdate(Action value)Public+1 flags0x08
void remove_onAfterUpdate(Action value)Public+1 flags0x08
void add_onSettingsChange(Action value)Public+1 flags0x08
void remove_onSettingsChange(Action value)Public+1 flags0x08
bool get_isProcessingEvents()Public+1 flags0x01
bool get_gameIsPlaying()Private+1 flags0x01
bool get_gameHasFocus()Private+1 flags0x01
bool get_gameShouldGetInputRegardlessOfFocus()Private+1 flags0x01
void RegisterControlLayout(const string& name, Type type)Public0x08
void RegisterControlLayout(const string& json, const string& name, bool isOverride)Public0x08
void RegisterControlLayoutBuilder(Func<UnityEngine.InputSystem.Layouts.InputControlLayout> method, const string& name, const string& baseLayout)Public0x08
void PerformLayoutPostRegistration(const InternedString& layoutName, const InlinedArray<UnityEngine.InputSystem.Utilities.InternedString>& baseLayouts, bool isReplacement, bool isKnownToBeDeviceLayout, bool isOverride)Private0x20
void RegisterPrecompiledLayout(const string& metadata)Public—0x08
void RecreateDevicesUsingLayout(const InternedString& layout, bool isKnownToBeDeviceLayout)Private0x10
bool IsControlOrChildUsingLayoutRecursive(InputControl control, const InternedString& layout)Private0x10
bool IsControlUsingLayout(InputControl control, const InternedString& layout)Private0x10
void RegisterControlLayoutMatcher(const string& layoutName, const InputDeviceMatcher& matcher)Public0x08
void RegisterControlLayoutMatcher(Type type, const InputDeviceMatcher& matcher)Public0x08
void RecreateDevicesUsingLayoutWithInferiorMatch(const InputDeviceMatcher& deviceMatcher)Private0x08
void RecreateDevice(InputDevice oldDevice, const InternedString& newLayout)Private0x10
void AddAvailableDevicesMatchingDescription(const InputDeviceMatcher& matcher, const InternedString& layout)Private0x10
void RemoveControlLayout(const string& name)Public0x08
InputControlLayout TryLoadControlLayout(Type type)Public0x08
InputControlLayout TryLoadControlLayout(const InternedString& name)Public0x10
InternedString TryFindMatchingControlLayout(ref InputDeviceDescription& deviceDescription, int deviceId)Public0x38
InternedString FindOrRegisterDeviceLayoutForType(Type type)Private0x10
bool IsDeviceLayoutMarkedAsSupportedInSettings(const InternedString& layoutName)Private0x10
IEnumerable<System.String> ListControlLayouts(const string& basedOn)Public0x08
int GetControls(const string& path, ref InputControlList<TControl>& controls)Public—0x20
void SetDeviceUsage(InputDevice device, const InternedString& usage)Public0x10
void AddDeviceUsage(InputDevice device, const InternedString& usage)Public0x10
void RemoveDeviceUsage(InputDevice device, const InternedString& usage)Public0x10
void NotifyUsageChanged(InputDevice device)Private0x08
InputDevice AddDevice(Type type, const string& name)Public0x08
InputDevice AddDevice(const string& layout, const string& name, const InternedString& variants)Public0x10
InputDevice AddDevice(const InternedString& layout, int deviceId, const string& deviceName, const InputDeviceDescription& deviceDescription, const DeviceFlags& deviceFlags, const InternedString& variants)Private0x38
void AddDevice(InputDevice device)Public0x08
InputDevice AddDevice(const InputDeviceDescription& description)Public0x38
InputDevice AddDevice(const InputDeviceDescription& description, bool throwIfNoLayoutFound, const string& deviceName, int deviceId, const DeviceFlags& deviceFlags)Public0x38
InputDevice AddDevice(const InputDeviceDescription& description, const InternedString& layout, const string& deviceName, int deviceId, const DeviceFlags& deviceFlags)Public0x38
void RemoveDevice(InputDevice device, bool keepOnListOfAvailableDevices)Public0x08
void FlushDisconnectedDevices()Public0x00
void ResetDevice(InputDevice device, bool alsoResetDontResetControls, const Nullable<System.Boolean>& issueResetCommand)Public0x08
InputDevice TryGetDevice(const string& nameOrLayout)Public0x08
InputDevice GetDevice(const string& nameOrLayout)Public0x08
InputDevice TryGetDevice(Type layoutType)Public0x08
InputDevice TryGetDeviceById(int id)Public0x08
int GetUnsupportedDevices(List<UnityEngine.InputSystem.Layouts.InputDeviceDescription> descriptions)Public0x08
void EnableOrDisableDevice(InputDevice device, bool enable, const DeviceDisableScope& scope)Public0x08
void QueueEvent(const InputEvent*& eventPtr)Private0x00
void QueueEvent(const InputEventPtr& ptr)Public0x08
void QueueEvent(const uint8& inputEvent)Public—0x00
void Update()Public0x00
void Update(const InputUpdateType& updateType)Public0x04
void Initialize(IInputRuntime runtime, InputSettings settings)1 flags0x08
void Destroy()1 flags0x00
void InitializeData()1 flags0x00
void InstallRuntime(IInputRuntime runtime)1 flags0x08
void InstallGlobals()1 flags0x00
void UninstallGlobals()1 flags0x00
void MakeDeviceNameUnique(InputDevice device)Private0x08
void ResetControlPathsRecursive(InputControl control)PrivateStatic0x08
void AssignUniqueDeviceId(InputDevice device)Private0x08
void ReallocateStateBuffers()Private0x00
void InitializeDefaultState(InputDevice device)Private0x08
void InitializeDeviceState(InputDevice device)Private0x08
void OnNativeDeviceDiscovered(int deviceId, const string& deviceDescriptor)Private0x08
InputDevice TryMatchDisconnectedDevice(const string& deviceDescriptor)Private0x08
void InstallBeforeUpdateHookIfNecessary()Private0x00
void RestoreDevicesAfterDomainReloadIfNecessary()Private0x00
void WarnAboutDevicesFailingToRecreateAfterDomainReload()Private0x00
void OnBeforeUpdate(const InputUpdateType& updateType)Private0x04
void ApplySettings()1 flags0x00
long ExecuteGlobalCommand(const uint8& command)1 flags—0x08
void AddAvailableDevicesThatAreNowRecognized()1 flags0x00
bool ShouldRunDeviceInBackground(InputDevice device)Private0x08
void OnFocusChanged(bool focus)1 flags0x01
bool ShouldRunUpdate(const InputUpdateType& updateType)1 flags0x04
void OnUpdate(const InputUpdateType& updateType, ref InputEventBuffer& eventBuffer)Private0x20
void InvokeAfterUpdateCallback(const InputUpdateType& updateType)Private0x04
void DontMakeCurrentlyUpdatingDeviceCurrent()1 flags0x00
bool UpdateState(InputDevice device, const InputEvent*& eventPtr, const InputUpdateType& updateType)1 flags0x08
bool UpdateState(InputDevice device, const InputUpdateType& updateType, const Void*& statePtr, uint stateOffsetInDevice, uint stateSize, double internalTime, const InputEventPtr& eventPtr)1 flags0x08
void WriteStateChange(const DoubleBuffers& buffers, int deviceIndex, ref InputStateBlock& deviceStateBlock, uint stateOffsetInDevice, const Void*& statePtr, uint stateSizeInBytes, bool flippedBuffers)Private0x10
bool FlipBuffersForDeviceIfNecessary(InputDevice device, const InputUpdateType& updateType)Private0x08
void AddStateChangeMonitor(InputControl control, IInputStateChangeMonitor monitor, long monitorIndex, uint groupIndex)Public0x08
void RemoveStateChangeMonitors(InputDevice device)Private0x08
void RemoveStateChangeMonitor(InputControl control, IInputStateChangeMonitor monitor, long monitorIndex)Public0x08
void AddStateChangeMonitorTimeout(InputControl control, IInputStateChangeMonitor monitor, double time, long monitorIndex, int timerIndex)Public0x08
void RemoveStateChangeMonitorTimeout(IInputStateChangeMonitor monitor, long monitorIndex, int timerIndex)Public0x08
void SortStateChangeMonitorsIfNecessary(int deviceIndex)Private0x04
void SignalStateChangeMonitor(InputControl control, IInputStateChangeMonitor monitor)Public0x08
void FireStateChangeNotifications()Public0x00
bool ProcessStateChangeMonitors(int deviceIndex, const Void*& newStateFromEvent, const Void*& oldStateOfDevice, uint newStateSizeInBytes, uint newStateOffsetInBytes)Private0x04
void FireStateChangeNotifications(int deviceIndex, double internalTime, const InputEvent*& eventPtr)1 flags0x08
void ProcessStateChangeMonitorTimeouts()Private0x00
void .ctor()Public+1 flags0x00
long <TryFindMatchingControlLayout>b__72_0(ref InputDeviceCommand& commandRef)Private0x08

Used by 3

types with a member, parameter or interface of this type