Zdexby TheHolyOneZ
36,909 classes
Class

InputManager

: Object
UnityEngine.InputSystem.InputManager, Unity.InputSystem 0x0540 (1,344 B) inherited 0x0010 Unity.InputSystem.dll
implements IDisposable
0x00x0540

Members 64

OffsetSizeNameTypeFlagsDefault
0x01disposedValueboolPrivate—
0x08k_InputUpdateProfilerMarkerProfilerMarkerPrivateStatic+1 flags—
0x08k_InputTryFindMatchingControllerMarkerProfilerMarkerPrivateStatic+1 flags—
0x08k_InputAddDeviceMarkerProfilerMarkerPrivateStatic+1 flags—
0x08k_InputRestoreDevicesAfterReloadMarkerProfilerMarkerPrivateStatic+1 flags—
0x08k_InputRegisterCustomTypesMarkerProfilerMarkerPrivateStatic+1 flags—
0x08k_InputOnBeforeUpdateMarkerProfilerMarkerPrivateStatic+1 flags—
0x08k_InputOnAfterUpdateMarkerProfilerMarkerPrivateStatic+1 flags—
0x08k_InputOnSettingsChangeMarkerProfilerMarkerPrivateStatic+1 flags—
0x08k_InputOnDeviceSettingsChangeMarkerProfilerMarkerPrivateStatic+1 flags—
0x08k_InputOnEventMarkerProfilerMarkerPrivateStatic+1 flags—
0x08k_InputOnLayoutChangeMarkerProfilerMarkerPrivateStatic+1 flags—
0x08k_InputOnDeviceChangeMarkerProfilerMarkerPrivateStatic+1 flags—
0x08k_InputOnActionsChangeMarkerProfilerMarkerPrivateStatic+1 flags—
0x01m_CustomTypesRegisteredboolPrivate—
0x04m_LayoutRegistrationVersionint1 flags—
0x04m_InputEventHandledPolicyInputEventHandledPolicyPrivate—
0x40m_LayoutsCollection1 flags—
0x10m_ProcessorsTypeTablePrivate—
0x10m_InteractionsTypeTablePrivate—
0x10m_CompositesTypeTablePrivate—
0x04m_DevicesCountintPrivate—
0x00940x04padding / unreflected
0x08m_DevicesInputDevice[]Private—
0x08m_DevicesByIdDictionary<System.Int32Private—
0x04m_AvailableDeviceCountint1 flags—
0x00AC0x04padding / unreflected
0x08m_AvailableDevicesAvailableDevice[]1 flags—
0x04m_DisconnectedDevicesCountint1 flags—
0x00BC0x04padding / unreflected
0x08m_DisconnectedDevicesInputDevice[]1 flags—
0x04m_UpdateMaskInputUpdateType1 flags—
0x04m_CurrentUpdateInputUpdateTypePrivate—
0x38m_StateBuffersInputStateBuffers1 flags—
0x04m_ScrollDeltaBehaviorScrollDeltaBehaviorPrivate—
0x010C0x04padding / unreflected
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—
0x50m_ActionsChangedListenersCallbackArray<System.Action>Private—
0x01m_NativeBeforeUpdateHookedboolPrivate—
0x01m_HaveDevicesWithStateCallbackReceiversboolPrivate—
0x01m_DiscardOutOfFocusEventsboolPrivate—
0x04330x05padding / unreflected
0x08m_FocusRegainedTimedoublePrivate—
0x01m_IsHandlingFocusChangeboolPrivate—
0x01m_ApplicationHadFocusboolPrivate—
0x04420x06padding / unreflected
0x78m_InputEventStreamInputEventStreamPrivate—
0x08m_DeviceFindExecuteCommandDelegateInputDeviceExecuteCommandDelegatePrivate—
0x04m_DeviceFindExecuteCommandDeviceIdintPrivate—
0x04CC0x04padding / unreflected
0x08m_RuntimeIInputRuntimePrivate—
0x08m_StateMonitorsInputManagerStateMonitors1 flags—
0x38m_MetricsInputMetricsPrivate—
0x08m_SettingsInputSettingsPrivate—
0x01m_HaveCachedShortcutResolutionSettingsboolPrivate—
0x01m_CachedShortcutKeysConsumeInputboolPrivate—
0x01m_CachedShortcutKeysUseActionPriorityboolPrivate—
0x01m_OptimizedControlsFeatureEnabledboolPrivate—
0x01m_ReadValueCachingFeatureEnabledboolPrivate—
0x01m_ParanoidReadValueCachingChecksEnabledboolPrivate—
0x05260x02padding / unreflected
0x08m_ActionsInputActionAssetPrivate—
0x08m_DeferBindingResolutionContextDeferBindingResolutionContextPrivate—
0x01m_ShouldMakeCurrentlyUpdatingDeviceCurrentboolPrivate—
0x05390x07unreflected bytes to end of InputManager

Functions 174

SignatureFlagsNativeParams
void OnFocusChanged(bool focus)1 flags0x01
bool ShouldFlushEventBuffer()Private0x01
bool ShouldExitEarlyFromEventProcessing(const InputUpdateType& updateType)Private0x04
bool LegacyEarlyOutFromEventProcessing(const InputUpdateType& updateType, ref InputEventBuffer& eventBuffer, ref bool& dropStatusEvents)Private0x20
bool ShouldDropStatusEvents(const InputEventBuffer& eventBuffer, ref bool& canEarlyOut)Private0x20
bool ShouldDiscardOutOfFocusEvent(double eventTime)Private0x08
void .ctor()Private+1 flags0x00
InputManager CreateAndInitialize(IInputRuntime runtime, InputSettings settings, bool fakeManagerForRemotingTests)PublicStatic0x08
void Dispose(bool disposing)3 flags0x01
void Finalize()2 flags0x00
void Dispose()PublicFinal+2 flags0x00
ReadOnlyArray<UnityEngine.InputSystem.InputDevice> get_devices()Public+1 flags0x10
TypeTable get_processors()Public+1 flags0x10
TypeTable get_interactions()Public+1 flags0x10
TypeTable get_composites()Public+1 flags0x10
IInputRuntime get_runtime()2 flags0x08
InputMetrics get_metrics()Public+1 flags0x38
InputSettings get_settings()Public+1 flags0x08
void set_settings(InputSettings value)Public+1 flags0x08
InputActionAsset get_actions()Public+1 flags0x08
void set_actions(InputActionAsset 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
ScrollDeltaBehavior get_scrollDeltaBehavior()Public+1 flags0x04
void set_scrollDeltaBehavior(const ScrollDeltaBehavior& value)Public+1 flags0x04
float get_pollingFrequency()Public+1 flags0x04
void set_pollingFrequency(float value)Public+1 flags0x04
InputEventHandledPolicy get_inputEventHandledPolicy()2 flags0x04
void set_inputEventHandledPolicy(const InputEventHandledPolicy& value)2 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
void add_onActionsChange(Action value)Public+1 flags0x08
void remove_onActionsChange(Action value)Public+1 flags0x08
bool get_isProcessingEvents()Public+1 flags0x01
void AddStateChangeMonitor(InputControl control, IInputStateChangeMonitor monitor, long monitorIndex, uint groupIndex)Public0x08
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 SignalStateChangeMonitor(InputControl control, IInputStateChangeMonitor monitor)Public0x08
void FireStateChangeNotifications()Public0x00
bool get_gameIsPlaying()Private+1 flags0x01
bool get_applicationHasFocus()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)Public0x08
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)Public0x20
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
bool HasDevice(InputDevice device)1 flags0x08
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)Public0x00
void Update()Public0x00
void Update(const InputUpdateType& updateType)Public0x04
void InitializeActions()Private0x00
void InitializeData()1 flags0x00
void RegisterCustomTypes(const Type[]& types)PrivateStatic0x08
bool RegisterCustomTypes()1 flags0x01
string GetRegisteredTypeDefaultName(Type type, const string& name, const string& suffix)PrivateStatic0x08
void RegisterProcessor(Type type, const string& name)1 flags0x08
void RegisterInteraction(Type type, const string& name)Public0x08
void RegisterBindingComposite(Type type, const string& name)Public0x08
void InstallRuntime(IInputRuntime runtime)1 flags0x08
void InstallGlobals()1 flags0x00
void UninstallGlobals()1 flags0x00
DeferBindingResolutionContext DeferBindingResolution()1 flags0x08
bool get_areDeferredBindingsToResolve()2 flags0x01
bool get_bindingsNeedResolving()Public+1 flags0x01
void set_bindingsNeedResolving(bool value)Public+1 flags0x01
bool get_optimizedControlsFeatureEnabled()2 flags0x01
void set_optimizedControlsFeatureEnabled(bool value)2 flags0x01
bool get_readValueCachingFeatureEnabled()2 flags0x01
void set_readValueCachingFeatureEnabled(bool value)2 flags0x01
bool get_paranoidReadValueCachingChecksEnabled()2 flags0x01
void set_paranoidReadValueCachingChecksEnabled(bool value)2 flags0x01
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
JsonString MakeEscapedJsonString(const string& theString)Private0x18
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
void ApplyActions()1 flags0x00
long ExecuteGlobalCommand(const uint8& command)1 flags—0x08
void AddAvailableDevicesThatAreNowRecognized()1 flags0x00
bool ShouldRunDeviceInBackground(InputDevice device)Private0x08
bool ShouldRunUpdate(const InputUpdateType& updateType)1 flags0x04
void OnUpdate(const InputUpdateType& updateType, ref InputEventBuffer& eventBuffer)Private0x20
void ProcessEventBuffer(const InputUpdateType& updateType, ref InputEventBuffer& eventBuffer, double currentTime, bool timesliceEvents, bool dropStatusEvents)Private0x20
void ProcessBeforeRenderStateEvents(ref InputDevice& device, ref InputEvent*& currentEventPtr)Private0x08
bool ShouldDeferEventBetweenEditorAndPlayerUpdates(const InputUpdateType& updateType, const FourCC& currentEventType, InputDevice device)Private0x08
bool MergeWithNextEvent(InputDevice device, const InputEvent*& currentEventReadPtr, bool timesliceEvents, double currentTime, ref InputEvent*& skipEventMergingFor)Private0x08
void ProcessEvent(InputDevice device, const InputUpdateType& updateType, const InputEvent*& currentEventReadPtr, ref uint& totalEventBytesProcessed, double currentEventTimeInternal)Private0x08
void ProcessStateEvent(InputDevice device, const InputUpdateType& updateType, const InputEvent*& currentEventReadPtr, ref uint& totalEventBytesProcessed, double currentEventTimeInternal)Private0x08
void ProcessTextEvent(InputDevice device, const InputEvent*& currentEventReadPtr)Private0x08
void ProcessIMECompositionEvent(InputDevice device, const InputEvent*& currentEventReadPtr)Private0x08
void ProcessDeviceRemoveEvent(InputDevice device)Private0x08
void ProcessDeviceConfigurationEvent(InputDevice device)Private0x08
void FinalizeUpdate(const InputUpdateType& updateType)Private0x04
bool AreMaximumEventBytesPerUpdateExceeded(uint totalEventBytesProcessed)Private0x04
string MakeStringWithEventsProcessedByDevice()Private0x08
void ResetCurrentProcessedEventBytesForDevices()Private0x00
void CheckAllDevicesOptimizedControlsHaveValidState()Private0x00
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 .cctor()PrivateStatic+1 flags0x00
long <TryFindMatchingControlLayout>b__119_0(ref InputDeviceCommand& commandRef)Private0x08
int <InstallRuntime>b__160_0()Private0x04
bool <InstallRuntime>b__160_1()Private0x01

Used by 4

types with a member, parameter or interface of this type