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
keyInputKey
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
keyInputKey
Returns
IsAnyTouchActive()
bool IsAnyTouchActive()
Returns
IsControllerConnected()
bool IsControllerConnected()
Returns
IsKeyDown(InputKey)
bool IsKeyDown(InputKey key)
Parameters
keyInputKey
Returns
IsKeyDownImmediate(InputKey)
bool IsKeyDownImmediate(InputKey key)
Parameters
keyInputKey
Returns
IsKeyPressed(InputKey)
bool IsKeyPressed(InputKey key)
Parameters
keyInputKey
Returns
IsKeyReleased(InputKey)
bool IsKeyReleased(InputKey key)
Parameters
keyInputKey
Returns
IsMouseActive()
bool IsMouseActive()
Returns
PressKey(InputKey)
void PressKey(InputKey key)
Parameters
keyInputKey
SetClipboardText(string)
void SetClipboardText(string text)
Parameters
textstring
SetCursorFriction(float)
void SetCursorFriction(float frictionValue)
Parameters
frictionValuefloat
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
lowFrequencyLevelsfloat[]lowFrequencyDurationsfloat[]numLowFrequencyElementsinthighFrequencyLevelsfloat[]highFrequencyDurationsfloat[]numHighFrequencyElementsint
SetTriggerFeedback(byte, byte, byte, byte)
void SetTriggerFeedback(byte leftTriggerPosition, byte leftTriggerStrength, byte rightTriggerPosition, byte rightTriggerStrength)
Parameters
leftTriggerPositionbyteleftTriggerStrengthbyterightTriggerPositionbyterightTriggerStrengthbyte
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
leftTriggerAmplitudesfloat[]leftTriggerFrequenciesfloat[]leftTriggerDurationsfloat[]numLeftTriggerElementsintrightTriggerAmplitudesfloat[]rightTriggerFrequenciesfloat[]rightTriggerDurationsfloat[]numRightTriggerElementsint
SetTriggerWeaponEffect(byte, byte, byte, byte, byte, byte)
void SetTriggerWeaponEffect(byte leftStartPosition, byte leftEnd_position, byte leftStrength, byte rightStartPosition, byte rightEndPosition, byte rightStrength)
Parameters
leftStartPositionbyteleftEnd_positionbyteleftStrengthbyterightStartPositionbyterightEndPositionbyterightStrengthbyte
UpdateKeyData(byte[])
void UpdateKeyData(byte[] keyData)
Parameters
keyDatabyte[]
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).