Interface IInputManager
- Namespace
- TaleWorlds.InputSystem
- Assembly
- TaleWorlds.InputSystem.dll
public interface IInputManager
Methods
ClearKeys()
void ClearKeys()
GetClickKeys()
InputKey[] GetClickKeys()
Returns
- InputKey[]
GetClipboardText()
string GetClipboardText()
Returns
GetControllerType()
Input.ControllerTypes GetControllerType()
Returns
GetDesktopResolution()
Vec2 GetDesktopResolution()
Returns
GetGyroX()
float GetGyroX()
Returns
GetGyroY()
float GetGyroY()
Returns
GetGyroZ()
float GetGyroZ()
Returns
GetKeyState(InputKey)
Vec2 GetKeyState(InputKey key)
Parameters
key
InputKey
Returns
GetMouseDeltaZ()
float GetMouseDeltaZ()
Returns
GetMouseMoveX()
float GetMouseMoveX()
Returns
GetMouseMoveY()
float GetMouseMoveY()
Returns
GetMousePositionX()
float GetMousePositionX()
Returns
GetMousePositionY()
float GetMousePositionY()
Returns
GetMouseScrollValue()
float GetMouseScrollValue()
Returns
GetMouseSensitivity()
float GetMouseSensitivity()
Returns
GetResolution()
Vec2 GetResolution()
Returns
GetVirtualKeyCode(InputKey)
int GetVirtualKeyCode(InputKey key)
Parameters
key
InputKey
Returns
IsAnyTouchActive()
bool IsAnyTouchActive()
Returns
IsControllerConnected()
bool IsControllerConnected()
Returns
IsKeyDown(InputKey)
bool IsKeyDown(InputKey key)
Parameters
key
InputKey
Returns
IsKeyDownImmediate(InputKey)
bool IsKeyDownImmediate(InputKey key)
Parameters
key
InputKey
Returns
IsKeyPressed(InputKey)
bool IsKeyPressed(InputKey key)
Parameters
key
InputKey
Returns
IsKeyReleased(InputKey)
bool IsKeyReleased(InputKey key)
Parameters
key
InputKey
Returns
IsMouseActive()
bool IsMouseActive()
Returns
PressKey(InputKey)
void PressKey(InputKey key)
Parameters
key
InputKey
SetClipboardText(string)
void SetClipboardText(string text)
Parameters
text
string
SetCursorFriction(float)
void SetCursorFriction(float frictionValue)
Parameters
frictionValue
float
SetCursorPosition(int, int)
void SetCursorPosition(int x, int y)
Parameters
SetLightbarColor(float, float, float)
void SetLightbarColor(float red, float green, float blue)
Parameters
SetRumbleEffect(float[], float[], int, float[], float[], int)
void SetRumbleEffect(float[] lowFrequencyLevels, float[] lowFrequencyDurations, int numLowFrequencyElements, float[] highFrequencyLevels, float[] highFrequencyDurations, int numHighFrequencyElements)
Parameters
lowFrequencyLevels
float[]lowFrequencyDurations
float[]numLowFrequencyElements
inthighFrequencyLevels
float[]highFrequencyDurations
float[]numHighFrequencyElements
int
SetTriggerFeedback(byte, byte, byte, byte)
void SetTriggerFeedback(byte leftTriggerPosition, byte leftTriggerStrength, byte rightTriggerPosition, byte rightTriggerStrength)
Parameters
leftTriggerPosition
byteleftTriggerStrength
byterightTriggerPosition
byterightTriggerStrength
byte
SetTriggerVibration(float[], float[], float[], int, float[], float[], float[], int)
void SetTriggerVibration(float[] leftTriggerAmplitudes, float[] leftTriggerFrequencies, float[] leftTriggerDurations, int numLeftTriggerElements, float[] rightTriggerAmplitudes, float[] rightTriggerFrequencies, float[] rightTriggerDurations, int numRightTriggerElements)
Parameters
leftTriggerAmplitudes
float[]leftTriggerFrequencies
float[]leftTriggerDurations
float[]numLeftTriggerElements
intrightTriggerAmplitudes
float[]rightTriggerFrequencies
float[]rightTriggerDurations
float[]numRightTriggerElements
int
SetTriggerWeaponEffect(byte, byte, byte, byte, byte, byte)
void SetTriggerWeaponEffect(byte leftStartPosition, byte leftEnd_position, byte leftStrength, byte rightStartPosition, byte rightEndPosition, byte rightStrength)
Parameters
leftStartPosition
byteleftEnd_position
byteleftStrength
byterightStartPosition
byterightEndPosition
byterightStrength
byte
UpdateKeyData(byte[])
void UpdateKeyData(byte[] keyData)
Parameters
keyData
byte[]
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).