Interface IInputContext
- Namespace
- TaleWorlds.InputSystem
- Assembly
- TaleWorlds.InputSystem.dll
public interface IInputContext
Methods
GetClickKeys()
InputKey[] GetClickKeys()
Returns
- InputKey[]
GetControllerLeftStickState()
Vec2 GetControllerLeftStickState()
Returns
GetControllerRightStickState()
Vec2 GetControllerRightStickState()
Returns
GetDeltaMouseScroll()
float GetDeltaMouseScroll()
Returns
GetGameKeyAxis(string)
float GetGameKeyAxis(string gameKey)
Parameters
gameKey
string
Returns
GetIsControllerConnected()
bool GetIsControllerConnected()
Returns
GetIsMouseActive()
bool GetIsMouseActive()
Returns
GetKeyState(InputKey)
Vec2 GetKeyState(InputKey key)
Parameters
key
InputKey
Returns
GetMouseMoveX()
float GetMouseMoveX()
Returns
GetMouseMoveY()
float GetMouseMoveY()
Returns
GetMousePositionPixel()
Vec2 GetMousePositionPixel()
Returns
GetMousePositionRanged()
Vec2 GetMousePositionRanged()
Returns
GetMouseSensitivity()
float GetMouseSensitivity()
Returns
GetPointerPosition()
Vector2 GetPointerPosition()
Returns
GetPointerX()
int GetPointerX()
Returns
GetPointerY()
int GetPointerY()
Returns
IsAltDown()
bool IsAltDown()
Returns
IsControlDown()
bool IsControlDown()
Returns
IsGameKeyDown(int)
bool IsGameKeyDown(int gameKey)
Parameters
gameKey
int
Returns
IsGameKeyDownAndReleased(int)
bool IsGameKeyDownAndReleased(int gameKey)
Parameters
gameKey
int
Returns
IsGameKeyDownImmediate(int)
bool IsGameKeyDownImmediate(int gameKey)
Parameters
gameKey
int
Returns
IsGameKeyPressed(int)
bool IsGameKeyPressed(int gameKey)
Parameters
gameKey
int
Returns
IsGameKeyReleased(int)
bool IsGameKeyReleased(int gameKey)
Parameters
gameKey
int
Returns
IsHotKeyDoublePressed(string)
bool IsHotKeyDoublePressed(string gameKey)
Parameters
gameKey
string
Returns
IsHotKeyDown(string)
bool IsHotKeyDown(string gameKey)
Parameters
gameKey
string
Returns
IsHotKeyDownAndReleased(string)
bool IsHotKeyDownAndReleased(string gameKey)
Parameters
gameKey
string
Returns
IsHotKeyPressed(string)
bool IsHotKeyPressed(string gameKey)
Parameters
gameKey
string
Returns
IsHotKeyReleased(string)
bool IsHotKeyReleased(string gameKey)
Parameters
gameKey
string
Returns
IsKeyDown(InputKey)
bool IsKeyDown(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
IsShiftDown()
bool IsShiftDown()
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).