Table of Contents

Class InputEventArgsExtensions

Namespace
SkyrimForge
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. A mouse or gamepad button with the same ID code does not match.

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 from InputEvent where this event is the button going down, the first event of a press. The value is null for each later event of the same press, for the release, and for an event that is no button.

public static ButtonEvent? get_ButtonEventIfDown(InputEventArgs args)

Parameters

args InputEventArgs

Returns

ButtonEvent?