Api Keyboard
class

Keyboard

public static abstract sealed class Keyboard

Keyboard related glyph methods.

Methods

static Texture GetGlyph(String key, InputGlyphSize size = 0, Boolean outline = False)

Get a glyph texture from a specific key name.

key
size
outline
static Boolean Down(String keyName)

Keyboard key is held down

static Boolean Pressed(String keyName)

Keyboard key wasn't pressed but now it is

static Boolean Released(String keyName)

Keyboard key was pressed but now it isn't

Assembly: Sandbox.Engine Declaring Type: Input Full Name: Sandbox.Input.Keyboard