Class InputEventArgsExtensions
- Namespace
- SkyrimForge.Events
- Assembly
- SkyrimForge.Game.dll
Provides extension members for InputEventArgs.
public static class InputEventArgsExtensions
- Inheritance
-
InputEventArgsExtensions
- Inherited Members
Methods
IsKeyDown(InputEventArgs, Key)
Whether the event is the keyboard key key going down.
public static bool IsKeyDown(this InputEventArgs args, BSKeyboardDevice.Keys.Key key)
Parameters
argsInputEventArgskeyBSKeyboardDevice.Keys.Key
Returns
get_ButtonEventIfDown(InputEventArgs)
The ButtonEvent if this event is the first of a button press, otherwise null.
public static ButtonEvent? get_ButtonEventIfDown(InputEventArgs args)
Parameters
argsInputEventArgs