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
keyInputKey
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
keyInputKey
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
GetInputType(InputKey)
public static Key.InputType GetInputType(InputKey key)
Parameters
keyInputKey
Returns
IsDpadInput(InputKey)
public static bool IsDpadInput(InputKey key)
Parameters
keyInputKey
Returns
IsFaceKeyInput(InputKey)
public static bool IsFaceKeyInput(InputKey key)
Parameters
keyInputKey
Returns
IsLeftAnalogInput(InputKey)
public static bool IsLeftAnalogInput(InputKey key)
Parameters
keyInputKey
Returns
IsLeftBumperOrTriggerInput(InputKey)
public static bool IsLeftBumperOrTriggerInput(InputKey key)
Parameters
keyInputKey
Returns
IsRightAnalogInput(InputKey)
public static bool IsRightAnalogInput(InputKey key)
Parameters
keyInputKey
Returns
IsRightBumperOrTriggerInput(InputKey)
public static bool IsRightBumperOrTriggerInput(InputKey key)
Parameters
keyInputKey
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).