Table of Contents

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

args InputEventArgs
key BSKeyboardDevice.Keys.Key

Returns

bool

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

args InputEventArgs

Returns

ButtonEvent?