Class InputUtility
- Namespace
- PlayEveryWare.EpicOnlineServices.Samples
Used to abstract away the differences between the modern input system and the legacy input system.
public static class InputUtility
- Inheritance
-
InputUtility
- Inherited Members
Methods
ShiftIsPressed()
Determines if the shift key or shift key equivalent is currently pressed.
public static bool ShiftIsPressed()
Returns
- bool
True if the shift key or shift key equivalent is currently pressed.
TabWasPressed()
Determines if the tab or tab equivalent was pressed this frame.
public static bool TabWasPressed()
Returns
- bool
True if tab or tab equivalent was pressed this frame.
WasEnterPressed()
Determines if the enter or numpad enter key or it's equivalent was pressed.
public static bool WasEnterPressed()
Returns
- bool
True if the enter or numpad enter key or equivalent is currently pressed.
WasGamepadUsedLastFrame()
Determines whether or not the Gamepad was used last frame.
public static bool WasGamepadUsedLastFrame()
Returns
- bool
True if the game pad is active, false otherwise.
WasKeyboardUsedLastFrame()
Determines whether or not the keyboard was used last frame.
public static bool WasKeyboardUsedLastFrame()
Returns
- bool
True if the keyboard was used last frame, false otherwise.
WasMouseUsedLastFrame()
Determines whether or not the mouse was used last frame.
public static bool WasMouseUsedLastFrame()
Returns
- bool
True if the mouse was used last frame, false otherwise.