Table of Contents

Class Input

Namespace
SharpPluginLoader.Core.IO
Assembly
SharpPluginLoader.Core.dll

Provides a set of methods for checking the state of the controller and keyboard.

public static class Input
Inheritance
Input
Inherited Members

Methods

IsChanged(Button)

Checks if the specified button was pressed or released in the last frame.

public static bool IsChanged(Button button)

Parameters

button Button

Returns

bool

IsChanged(Key)

Checks if the specified button was pressed or released in the last frame.

public static bool IsChanged(Key key)

Parameters

key Key

Returns

bool

IsDown(Button)

Checks if the specified button is currently pressed.

public static bool IsDown(Button button)

Parameters

button Button

Returns

bool

IsDown(Key)

Checks if the specified button is currently pressed.

public static bool IsDown(Key key)

Parameters

key Key

Returns

bool

IsPressed(Button)

Checks if the specified button was pressed in the last frame.

public static bool IsPressed(Button button)

Parameters

button Button

Returns

bool

IsPressed(Key)

Checks if the specified button was pressed in the last frame.

public static bool IsPressed(Key key)

Parameters

key Key

Returns

bool

IsReleased(Button)

Checks if the specified button was released in the last frame.

public static bool IsReleased(Button button)

Parameters

button Button

Returns

bool

IsReleased(Key)

Checks if the specified button was released in the last frame.

public static bool IsReleased(Key key)

Parameters

key Key

Returns

bool