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

Public Types

enum  AxisType {
  X ,
  Y
}
 

Public Member Functions

 GameAxisKey (string id, InputKey axisKey, GameKey positiveKey, GameKey negativeKey, AxisType type=AxisType.X)
 
float GetAxisState (bool isKeysAllowed, bool isMouseButtonAllowed, bool isMouseWheelAllowed, bool isControllerAllowed)
 
override string ToString ()
 

Properties

string Id [get]
 
Key AxisKey [get]
 
Key DefaultAxisKey [get]
 
GameKey PositiveKey [get]
 
GameKey NegativeKey [get]
 
AxisType Type [get]
 

Member Enumeration Documentation

◆ AxisType

Constructor & Destructor Documentation

◆ GameAxisKey()

TaleWorlds.InputSystem.GameAxisKey.GameAxisKey ( string  id,
InputKey  axisKey,
GameKey  positiveKey,
GameKey  negativeKey,
AxisType  type = AxisType::X 
)

Member Function Documentation

◆ GetAxisState()

float TaleWorlds.InputSystem.GameAxisKey.GetAxisState ( bool  isKeysAllowed,
bool  isMouseButtonAllowed,
bool  isMouseWheelAllowed,
bool  isControllerAllowed 
)

◆ ToString()

override string TaleWorlds.InputSystem.GameAxisKey.ToString ( )

Property Documentation

◆ Id

string TaleWorlds.InputSystem.GameAxisKey.Id
get

◆ AxisKey

Key TaleWorlds.InputSystem.GameAxisKey.AxisKey
get

◆ DefaultAxisKey

Key TaleWorlds.InputSystem.GameAxisKey.DefaultAxisKey
get

◆ PositiveKey

GameKey TaleWorlds.InputSystem.GameAxisKey.PositiveKey
get

◆ NegativeKey

GameKey TaleWorlds.InputSystem.GameAxisKey.NegativeKey
get

◆ Type

AxisType TaleWorlds.InputSystem.GameAxisKey.Type
get