Table of Contents

Class Key

Namespace
TaleWorlds.InputSystem
Assembly
TaleWorlds.InputSystem.dll
public class Key
Inheritance
Key
Inherited Members

Constructors

Key()

public Key()

Key(InputKey)

public Key(InputKey key)

Parameters

key InputKey

Properties

InputKey

public InputKey InputKey { get; }

Property Value

InputKey

IsControllerInput

public bool IsControllerInput { get; }

Property Value

bool

IsKeyboardInput

public bool IsKeyboardInput { get; }

Property Value

bool

IsMouseButtonInput

public bool IsMouseButtonInput { get; }

Property Value

bool

IsMouseWheelInput

public bool IsMouseWheelInput { get; }

Property Value

bool

Methods

ChangeKey(InputKey)

public void ChangeKey(InputKey key)

Parameters

key InputKey

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetInputType(InputKey)

public static Key.InputType GetInputType(InputKey key)

Parameters

key InputKey

Returns

Key.InputType

IsDpadInput(InputKey)

public static bool IsDpadInput(InputKey key)

Parameters

key InputKey

Returns

bool

IsFaceKeyInput(InputKey)

public static bool IsFaceKeyInput(InputKey key)

Parameters

key InputKey

Returns

bool

IsLeftAnalogInput(InputKey)

public static bool IsLeftAnalogInput(InputKey key)

Parameters

key InputKey

Returns

bool

IsLeftBumperOrTriggerInput(InputKey)

public static bool IsLeftBumperOrTriggerInput(InputKey key)

Parameters

key InputKey

Returns

bool

IsRightAnalogInput(InputKey)

public static bool IsRightAnalogInput(InputKey key)

Parameters

key InputKey

Returns

bool

IsRightBumperOrTriggerInput(InputKey)

public static bool IsRightBumperOrTriggerInput(InputKey key)

Parameters

key InputKey

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(Key, Key)

public static bool operator ==(Key k1, Key k2)

Parameters

k1 Key
k2 Key

Returns

bool

operator !=(Key, Key)

public static bool operator !=(Key k1, Key k2)

Parameters

k1 Key
k2 Key

Returns

bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).