Class: InputManager
- Namespace:
Global - Assembly:
Dew.Core.dll - Inheritance / Derived: LogicBehaviour →
ManagerBase→ InputManager
csharp
public class InputManager : ManagerBase<InputManager>, ILogicUpdate, ISettingsChangedCallbackMethods
AddShakeInstance(ShakeInstance)
csharp
public void AddShakeInstance(ShakeInstance si)Parameters:
| Name | Type | Description |
|---|---|---|
si | ShakeInstance |
FrameUpdate()
csharp
public override void FrameUpdate()GetMouseSensitivity()
csharp
public static int GetMouseSensitivity()Returns: int
GetStickDirection(GamepadButtonEx)
csharp
public bool GetStickDirection(GamepadButtonEx g)Parameters:
| Name | Type | Description |
|---|---|---|
g | GamepadButtonEx |
Returns: bool
GetStickDirectionDown(GamepadButtonEx)
csharp
public bool GetStickDirectionDown(GamepadButtonEx g)Parameters:
| Name | Type | Description |
|---|---|---|
g | GamepadButtonEx |
Returns: bool
GetStickDirectionUp(GamepadButtonEx)
csharp
public bool GetStickDirectionUp(GamepadButtonEx g)Parameters:
| Name | Type | Description |
|---|---|---|
g | GamepadButtonEx |
Returns: bool
IsStickDirection(GamepadButtonEx)
csharp
public bool IsStickDirection(GamepadButtonEx g)Parameters:
| Name | Type | Description |
|---|---|---|
g | GamepadButtonEx |
Returns: bool
OnSettingsChanged()
csharp
public void OnSettingsChanged()ResetInputDevices()
csharp
public void ResetInputDevices()SetMouseSensitivity(int)
csharp
public static void SetMouseSensitivity(int sensitivity)Parameters:
| Name | Type | Description |
|---|---|---|
sensitivity | int |