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
IsControllerInput
public bool IsControllerInput { get; }
Property Value
IsKeyboardInput
public bool IsKeyboardInput { get; }
Property Value
IsMouseButtonInput
public bool IsMouseButtonInput { get; }
Property Value
IsMouseWheelInput
public bool IsMouseWheelInput { get; }
Property Value
Methods
ChangeKey(InputKey)
public void ChangeKey(InputKey key)
Parameters
key
InputKey
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
GetInputType(InputKey)
public static Key.InputType GetInputType(InputKey key)
Parameters
key
InputKey
Returns
IsDpadInput(InputKey)
public static bool IsDpadInput(InputKey key)
Parameters
key
InputKey
Returns
IsFaceKeyInput(InputKey)
public static bool IsFaceKeyInput(InputKey key)
Parameters
key
InputKey
Returns
IsLeftAnalogInput(InputKey)
public static bool IsLeftAnalogInput(InputKey key)
Parameters
key
InputKey
Returns
IsLeftBumperOrTriggerInput(InputKey)
public static bool IsLeftBumperOrTriggerInput(InputKey key)
Parameters
key
InputKey
Returns
IsRightAnalogInput(InputKey)
public static bool IsRightAnalogInput(InputKey key)
Parameters
key
InputKey
Returns
IsRightBumperOrTriggerInput(InputKey)
public static bool IsRightBumperOrTriggerInput(InputKey key)
Parameters
key
InputKey
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(Key, Key)
public static bool operator ==(Key k1, Key k2)
Parameters
Returns
operator !=(Key, Key)
public static bool operator !=(Key k1, Key k2)
Parameters
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).