M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.InputSystem.Key Class Reference

Public Types

enum  InputType {
  Invalid = -1 ,
  Keyboard = 0 ,
  MouseButton = 1 ,
  MouseWheel = 2 ,
  Controller = 3
}
 

Public Member Functions

 Key (InputKey key)
 
 Key ()
 
void ChangeKey (InputKey key)
 
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator== (Key k1, Key k2)
 
static bool operator!= (Key k1, Key k2)
 
static bool IsLeftAnalogInput (InputKey key)
 
static bool IsLeftBumperOrTriggerInput (InputKey key)
 
static bool IsRightBumperOrTriggerInput (InputKey key)
 
static bool IsFaceKeyInput (InputKey key)
 
static bool IsRightAnalogInput (InputKey key)
 
static bool IsDpadInput (InputKey key)
 
static InputType GetInputType (InputKey key)
 

Properties

bool IsKeyboardInput [get]
 
bool IsMouseButtonInput [get]
 
bool IsMouseWheelInput [get]
 
bool IsControllerInput [get]
 
InputKey InputKey [get]
 

Member Enumeration Documentation

◆ InputType

Enumerator
Invalid 
Keyboard 
MouseButton 
MouseWheel 
Controller 

Constructor & Destructor Documentation

◆ Key() [1/2]

TaleWorlds.InputSystem.Key.Key ( InputKey  key)

◆ Key() [2/2]

TaleWorlds.InputSystem.Key.Key ( )

Member Function Documentation

◆ ChangeKey()

void TaleWorlds.InputSystem.Key.ChangeKey ( InputKey  key)

◆ ToString()

override string TaleWorlds.InputSystem.Key.ToString ( )

◆ Equals()

override bool TaleWorlds.InputSystem.Key.Equals ( object  obj)

◆ GetHashCode()

override int TaleWorlds.InputSystem.Key.GetHashCode ( )

◆ operator==()

static bool TaleWorlds.InputSystem.Key.operator== ( Key  k1,
Key  k2 
)
static

◆ operator!=()

static bool TaleWorlds.InputSystem.Key.operator!= ( Key  k1,
Key  k2 
)
static

◆ IsLeftAnalogInput()

static bool TaleWorlds.InputSystem.Key.IsLeftAnalogInput ( InputKey  key)
static

◆ IsLeftBumperOrTriggerInput()

static bool TaleWorlds.InputSystem.Key.IsLeftBumperOrTriggerInput ( InputKey  key)
static

◆ IsRightBumperOrTriggerInput()

static bool TaleWorlds.InputSystem.Key.IsRightBumperOrTriggerInput ( InputKey  key)
static

◆ IsFaceKeyInput()

static bool TaleWorlds.InputSystem.Key.IsFaceKeyInput ( InputKey  key)
static

◆ IsRightAnalogInput()

static bool TaleWorlds.InputSystem.Key.IsRightAnalogInput ( InputKey  key)
static

◆ IsDpadInput()

static bool TaleWorlds.InputSystem.Key.IsDpadInput ( InputKey  key)
static

◆ GetInputType()

static InputType TaleWorlds.InputSystem.Key.GetInputType ( InputKey  key)
static

Property Documentation

◆ IsKeyboardInput

bool TaleWorlds.InputSystem.Key.IsKeyboardInput
get

◆ IsMouseButtonInput

bool TaleWorlds.InputSystem.Key.IsMouseButtonInput
get

◆ IsMouseWheelInput

bool TaleWorlds.InputSystem.Key.IsMouseWheelInput
get

◆ IsControllerInput

bool TaleWorlds.InputSystem.Key.IsControllerInput
get

◆ InputKey

InputKey TaleWorlds.InputSystem.Key.InputKey
get