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

Inherits TaleWorlds.InputSystem.IInputManager.

Public Member Functions

void SetRumbleEffect (float[] lowFrequencyLevels, float[] lowFrequencyDurations, int numLowFrequencyElements, float[] highFrequencyLevels, float[] highFrequencyDurations, int numHighFrequencyElements)
 Controller Specific Methods.
 
void SetTriggerFeedback (byte leftTriggerPosition, byte leftTriggerStrength, byte rightTriggerPosition, byte rightTriggerStrength)
 
void SetTriggerWeaponEffect (byte leftStartPosition, byte leftEnd_position, byte leftStrength, byte rightStartPosition, byte rightEndPosition, byte rightStrength)
 
void SetTriggerVibration (float[] leftTriggerAmplitudes, float[] leftTriggerFrequencies, float[] leftTriggerDurations, int numLeftTriggerElements, float[] rightTriggerAmplitudes, float[] rightTriggerFrequencies, float[] rightTriggerDurations, int numRightTriggerElements)
 
void SetLightbarColor (float red, float green, float blue)
 
float GetMousePositionX ()
 
float GetMousePositionY ()
 
float GetMouseScrollValue ()
 
bool IsMouseActive ()
 
bool IsControllerConnected ()
 
void PressKey (InputKey key)
 
void ClearKeys ()
 
int GetVirtualKeyCode (InputKey key)
 
void SetClipboardText (string text)
 
string GetClipboardText ()
 
float GetMouseMoveX ()
 
float GetMouseMoveY ()
 
float GetMouseSensitivity ()
 
float GetMouseDeltaZ ()
 
void UpdateKeyData (Byte[] keyData)
 
Vec2 GetKeyState (InputKey key)
 
bool IsKeyPressed (InputKey key)
 
bool IsKeyDown (InputKey key)
 
bool IsKeyDownImmediate (InputKey key)
 
bool IsKeyReleased (InputKey key)
 
Vec2 GetResolution ()
 
Vec2 GetDesktopResolution ()
 
void SetCursorPosition (int x, int y)
 
void SetCursorFriction (float frictionValue)
 
InputKey GetControllerClickKey ()
 Represents the click key for controller. In some regional builds the click key is different.
 
void SetRumbleEffect (float[] lowFrequencyLevels, float[] lowFrequencyDurations, int numLowFrequencyElements, float[] highFrequencyLevels, float[] highFrequencyDurations, int numHighFrequencyElements)
 Controller Specific Methods.
 
void SetTriggerFeedback (byte leftTriggerPosition, byte leftTriggerStrength, byte rightTriggerPosition, byte rightTriggerStrength)
 
void SetTriggerWeaponEffect (byte leftStartPosition, byte leftEnd_position, byte leftStrength, byte rightStartPosition, byte rightEndPosition, byte rightStrength)
 
void SetTriggerVibration (float[] leftTriggerAmplitudes, float[] leftTriggerFrequencies, float[] leftTriggerDurations, int numLeftTriggerElements, float[] rightTriggerAmplitudes, float[] rightTriggerFrequencies, float[] rightTriggerDurations, int numRightTriggerElements)
 
void SetLightbarColor (float red, float green, float blue)
 

Member Function Documentation

◆ SetRumbleEffect()

void TaleWorlds.Engine.InputSystem.EngineInputManager.SetRumbleEffect ( float[]  lowFrequencyLevels,
float[]  lowFrequencyDurations,
int  numLowFrequencyElements,
float[]  highFrequencyLevels,
float[]  highFrequencyDurations,
int  numHighFrequencyElements 
)

◆ SetTriggerFeedback()

void TaleWorlds.Engine.InputSystem.EngineInputManager.SetTriggerFeedback ( byte  leftTriggerPosition,
byte  leftTriggerStrength,
byte  rightTriggerPosition,
byte  rightTriggerStrength 
)

◆ SetTriggerWeaponEffect()

void TaleWorlds.Engine.InputSystem.EngineInputManager.SetTriggerWeaponEffect ( byte  leftStartPosition,
byte  leftEnd_position,
byte  leftStrength,
byte  rightStartPosition,
byte  rightEndPosition,
byte  rightStrength 
)

◆ SetTriggerVibration()

void TaleWorlds.Engine.InputSystem.EngineInputManager.SetTriggerVibration ( float[]  leftTriggerAmplitudes,
float[]  leftTriggerFrequencies,
float[]  leftTriggerDurations,
int  numLeftTriggerElements,
float[]  rightTriggerAmplitudes,
float[]  rightTriggerFrequencies,
float[]  rightTriggerDurations,
int  numRightTriggerElements 
)

◆ SetLightbarColor()

void TaleWorlds.Engine.InputSystem.EngineInputManager.SetLightbarColor ( float  red,
float  green,
float  blue 
)