Table of Contents

Class VirtualButton.Keyboard

Namespace
Stride.Input
Assembly
Stride.Input.dll

Keyboard virtual button.

public class VirtualButton.Keyboard : VirtualButton, IVirtualButton
Inheritance
VirtualButton.Keyboard
Implements
Inherited Members

Constructors

Keyboard(string, int, bool)

protected Keyboard(string name, int id, bool isPositiveAndNegative = false)

Parameters

name string
id int
isPositiveAndNegative bool

Fields

A

The 'a' key.

public static readonly VirtualButton A

Field Value

VirtualButton

Add

The 'add' key.

public static readonly VirtualButton Add

Field Value

VirtualButton

Apps

The 'apps' key.

public static readonly VirtualButton Apps

Field Value

VirtualButton

Attn

The 'attn' key.

public static readonly VirtualButton Attn

Field Value

VirtualButton

B

The 'b' key.

public static readonly VirtualButton B

Field Value

VirtualButton

Back

The 'back' key.

public static readonly VirtualButton Back

Field Value

VirtualButton

BrowserBack

The 'browserback' key.

public static readonly VirtualButton BrowserBack

Field Value

VirtualButton

BrowserFavorites

The 'browserfavorites' key.

public static readonly VirtualButton BrowserFavorites

Field Value

VirtualButton

BrowserForward

The 'browserforward' key.

public static readonly VirtualButton BrowserForward

Field Value

VirtualButton

BrowserHome

The 'browserhome' key.

public static readonly VirtualButton BrowserHome

Field Value

VirtualButton

BrowserRefresh

The 'browserrefresh' key.

public static readonly VirtualButton BrowserRefresh

Field Value

VirtualButton

BrowserSearch

The 'browsersearch' key.

public static readonly VirtualButton BrowserSearch

Field Value

VirtualButton

BrowserStop

The 'browserstop' key.

public static readonly VirtualButton BrowserStop

Field Value

VirtualButton

C

The 'c' key.

public static readonly VirtualButton C

Field Value

VirtualButton

Cancel

The 'cancel' key.

public static readonly VirtualButton Cancel

Field Value

VirtualButton

Capital

The 'capital' key.

public static readonly VirtualButton Capital

Field Value

VirtualButton

CapsLock

The 'capslock' key.

public static readonly VirtualButton CapsLock

Field Value

VirtualButton

Clear

The 'clear' key.

public static readonly VirtualButton Clear

Field Value

VirtualButton

CrSel

The 'crsel' key.

public static readonly VirtualButton CrSel

Field Value

VirtualButton

D

The 'd' key.

public static readonly VirtualButton D

Field Value

VirtualButton

D0

The 'd0' key.

public static readonly VirtualButton D0

Field Value

VirtualButton

D1

The 'd1' key.

public static readonly VirtualButton D1

Field Value

VirtualButton

D2

The 'd2' key.

public static readonly VirtualButton D2

Field Value

VirtualButton

D3

The 'd3' key.

public static readonly VirtualButton D3

Field Value

VirtualButton

D4

The 'd4' key.

public static readonly VirtualButton D4

Field Value

VirtualButton

D5

The 'd5' key.

public static readonly VirtualButton D5

Field Value

VirtualButton

D6

The 'd6' key.

public static readonly VirtualButton D6

Field Value

VirtualButton

D7

The 'd7' key.

public static readonly VirtualButton D7

Field Value

VirtualButton

D8

The 'd8' key.

public static readonly VirtualButton D8

Field Value

VirtualButton

D9

The 'd9' key.

public static readonly VirtualButton D9

Field Value

VirtualButton

Decimal

The 'decimal' key.

public static readonly VirtualButton Decimal

Field Value

VirtualButton

Delete

The 'delete' key.

public static readonly VirtualButton Delete

Field Value

VirtualButton

Divide

The 'divide' key.

public static readonly VirtualButton Divide

Field Value

VirtualButton

Down

The 'down' key.

public static readonly VirtualButton Down

Field Value

VirtualButton

E

The 'e' key.

public static readonly VirtualButton E

Field Value

VirtualButton

End

The 'end' key.

public static readonly VirtualButton End

Field Value

VirtualButton

Enter

The 'enter' key.

public static readonly VirtualButton Enter

Field Value

VirtualButton

EraseEof

The 'eraseeof' key.

public static readonly VirtualButton EraseEof

Field Value

VirtualButton

Escape

The 'escape' key.

public static readonly VirtualButton Escape

Field Value

VirtualButton

ExSel

The 'exsel' key.

public static readonly VirtualButton ExSel

Field Value

VirtualButton

Execute

The 'execute' key.

public static readonly VirtualButton Execute

Field Value

VirtualButton

F

The 'f' key.

public static readonly VirtualButton F

Field Value

VirtualButton

F1

The 'f1' key.

public static readonly VirtualButton F1

Field Value

VirtualButton

F10

The 'f10' key.

public static readonly VirtualButton F10

Field Value

VirtualButton

F11

The 'f11' key.

public static readonly VirtualButton F11

Field Value

VirtualButton

F12

The 'f12' key.

public static readonly VirtualButton F12

Field Value

VirtualButton

F13

The 'f13' key.

public static readonly VirtualButton F13

Field Value

VirtualButton

F14

The 'f14' key.

public static readonly VirtualButton F14

Field Value

VirtualButton

F15

The 'f15' key.

public static readonly VirtualButton F15

Field Value

VirtualButton

F16

The 'f16' key.

public static readonly VirtualButton F16

Field Value

VirtualButton

F17

The 'f17' key.

public static readonly VirtualButton F17

Field Value

VirtualButton

F18

The 'f18' key.

public static readonly VirtualButton F18

Field Value

VirtualButton

F19

The 'f19' key.

public static readonly VirtualButton F19

Field Value

VirtualButton

F2

The 'f2' key.

public static readonly VirtualButton F2

Field Value

VirtualButton

F20

The 'f20' key.

public static readonly VirtualButton F20

Field Value

VirtualButton

F21

The 'f21' key.

public static readonly VirtualButton F21

Field Value

VirtualButton

F22

The 'f22' key.

public static readonly VirtualButton F22

Field Value

VirtualButton

F23

The 'f23' key.

public static readonly VirtualButton F23

Field Value

VirtualButton

F24

The 'f24' key.

public static readonly VirtualButton F24

Field Value

VirtualButton

F3

The 'f3' key.

public static readonly VirtualButton F3

Field Value

VirtualButton

F4

The 'f4' key.

public static readonly VirtualButton F4

Field Value

VirtualButton

F5

The 'f5' key.

public static readonly VirtualButton F5

Field Value

VirtualButton

F6

The 'f6' key.

public static readonly VirtualButton F6

Field Value

VirtualButton

F7

The 'f7' key.

public static readonly VirtualButton F7

Field Value

VirtualButton

F8

The 'f8' key.

public static readonly VirtualButton F8

Field Value

VirtualButton

F9

The 'f9' key.

public static readonly VirtualButton F9

Field Value

VirtualButton

FinalMode

The 'finalmode' key.

public static readonly VirtualButton FinalMode

Field Value

VirtualButton

G

The 'g' key.

public static readonly VirtualButton G

Field Value

VirtualButton

H

The 'h' key.

public static readonly VirtualButton H

Field Value

VirtualButton

HangulMode

The 'hangulmode' key.

public static readonly VirtualButton HangulMode

Field Value

VirtualButton

HanjaMode

The 'hanjamode' key.

public static readonly VirtualButton HanjaMode

Field Value

VirtualButton

Help

The 'help' key.

public static readonly VirtualButton Help

Field Value

VirtualButton

Home

The 'home' key.

public static readonly VirtualButton Home

Field Value

VirtualButton

I

The 'i' key.

public static readonly VirtualButton I

Field Value

VirtualButton

ImeAccept

The 'imeaccept' key.

public static readonly VirtualButton ImeAccept

Field Value

VirtualButton

ImeConvert

The 'imeconvert' key.

public static readonly VirtualButton ImeConvert

Field Value

VirtualButton

ImeModeChange

The 'imemodechange' key.

public static readonly VirtualButton ImeModeChange

Field Value

VirtualButton

ImeNonConvert

The 'imenonconvert' key.

public static readonly VirtualButton ImeNonConvert

Field Value

VirtualButton

Insert

The 'insert' key.

public static readonly VirtualButton Insert

Field Value

VirtualButton

J

The 'j' key.

public static readonly VirtualButton J

Field Value

VirtualButton

JunjaMode

The 'junjamode' key.

public static readonly VirtualButton JunjaMode

Field Value

VirtualButton

K

The 'k' key.

public static readonly VirtualButton K

Field Value

VirtualButton

KanaMode

The 'kanamode' key.

public static readonly VirtualButton KanaMode

Field Value

VirtualButton

KanjiMode

The 'kanjimode' key.

public static readonly VirtualButton KanjiMode

Field Value

VirtualButton

L

The 'l' key.

public static readonly VirtualButton L

Field Value

VirtualButton

LaunchApplication1

The 'launchapplication1' key.

public static readonly VirtualButton LaunchApplication1

Field Value

VirtualButton

LaunchApplication2

The 'launchapplication2' key.

public static readonly VirtualButton LaunchApplication2

Field Value

VirtualButton

LaunchMail

The 'launchmail' key.

public static readonly VirtualButton LaunchMail

Field Value

VirtualButton

Left

The 'left' key.

public static readonly VirtualButton Left

Field Value

VirtualButton

LeftAlt

The 'leftalt' key.

public static readonly VirtualButton LeftAlt

Field Value

VirtualButton

LeftCtrl

The 'leftctrl' key.

public static readonly VirtualButton LeftCtrl

Field Value

VirtualButton

LeftShift

The 'leftshift' key.

public static readonly VirtualButton LeftShift

Field Value

VirtualButton

LeftWin

The 'leftwin' key.

public static readonly VirtualButton LeftWin

Field Value

VirtualButton

LineFeed

The 'linefeed' key.

public static readonly VirtualButton LineFeed

Field Value

VirtualButton

M

The 'm' key.

public static readonly VirtualButton M

Field Value

VirtualButton

MediaNextTrack

The 'medianexttrack' key.

public static readonly VirtualButton MediaNextTrack

Field Value

VirtualButton

MediaPlayPause

The 'mediaplaypause' key.

public static readonly VirtualButton MediaPlayPause

Field Value

VirtualButton

MediaPreviousTrack

The 'mediaprevioustrack' key.

public static readonly VirtualButton MediaPreviousTrack

Field Value

VirtualButton

MediaStop

The 'mediastop' key.

public static readonly VirtualButton MediaStop

Field Value

VirtualButton

Multiply

The 'multiply' key.

public static readonly VirtualButton Multiply

Field Value

VirtualButton

N

The 'n' key.

public static readonly VirtualButton N

Field Value

VirtualButton

Next

The 'next' key.

public static readonly VirtualButton Next

Field Value

VirtualButton

NoName

The 'noname' key.

public static readonly VirtualButton NoName

Field Value

VirtualButton

None

The 'none' key.

public static readonly VirtualButton None

Field Value

VirtualButton

NumLock

The 'numlock' key.

public static readonly VirtualButton NumLock

Field Value

VirtualButton

NumPad0

The 'numpad0' key.

public static readonly VirtualButton NumPad0

Field Value

VirtualButton

NumPad1

The 'numpad1' key.

public static readonly VirtualButton NumPad1

Field Value

VirtualButton

NumPad2

The 'numpad2' key.

public static readonly VirtualButton NumPad2

Field Value

VirtualButton

NumPad3

The 'numpad3' key.

public static readonly VirtualButton NumPad3

Field Value

VirtualButton

NumPad4

The 'numpad4' key.

public static readonly VirtualButton NumPad4

Field Value

VirtualButton

NumPad5

The 'numpad5' key.

public static readonly VirtualButton NumPad5

Field Value

VirtualButton

NumPad6

The 'numpad6' key.

public static readonly VirtualButton NumPad6

Field Value

VirtualButton

NumPad7

The 'numpad7' key.

public static readonly VirtualButton NumPad7

Field Value

VirtualButton

NumPad8

The 'numpad8' key.

public static readonly VirtualButton NumPad8

Field Value

VirtualButton

NumPad9

The 'numpad9' key.

public static readonly VirtualButton NumPad9

Field Value

VirtualButton

O

The 'o' key.

public static readonly VirtualButton O

Field Value

VirtualButton

Oem1

The 'oem1' key.

public static readonly VirtualButton Oem1

Field Value

VirtualButton

Oem102

The 'oem102' key.

public static readonly VirtualButton Oem102

Field Value

VirtualButton

Oem2

The 'oem2' key.

public static readonly VirtualButton Oem2

Field Value

VirtualButton

Oem3

The 'oem3' key.

public static readonly VirtualButton Oem3

Field Value

VirtualButton

Oem4

The 'oem4' key.

public static readonly VirtualButton Oem4

Field Value

VirtualButton

Oem5

The 'oem5' key.

public static readonly VirtualButton Oem5

Field Value

VirtualButton

Oem6

The 'oem6' key.

public static readonly VirtualButton Oem6

Field Value

VirtualButton

Oem7

The 'oem7' key.

public static readonly VirtualButton Oem7

Field Value

VirtualButton

Oem8

The 'oem8' key.

public static readonly VirtualButton Oem8

Field Value

VirtualButton

OemBackslash

The 'oembackslash' key.

public static readonly VirtualButton OemBackslash

Field Value

VirtualButton

OemClear

The 'oemclear' key.

public static readonly VirtualButton OemClear

Field Value

VirtualButton

OemCloseBrackets

The 'oemclosebrackets' key.

public static readonly VirtualButton OemCloseBrackets

Field Value

VirtualButton

OemComma

The 'oemcomma' key.

public static readonly VirtualButton OemComma

Field Value

VirtualButton

OemMinus

The 'oemminus' key.

public static readonly VirtualButton OemMinus

Field Value

VirtualButton

OemOpenBrackets

The 'oemopenbrackets' key.

public static readonly VirtualButton OemOpenBrackets

Field Value

VirtualButton

OemPeriod

The 'oemperiod' key.

public static readonly VirtualButton OemPeriod

Field Value

VirtualButton

OemPipe

The 'oempipe' key.

public static readonly VirtualButton OemPipe

Field Value

VirtualButton

OemPlus

The 'oemplus' key.

public static readonly VirtualButton OemPlus

Field Value

VirtualButton

OemQuestion

The 'oemquestion' key.

public static readonly VirtualButton OemQuestion

Field Value

VirtualButton

OemQuotes

The 'oemquotes' key.

public static readonly VirtualButton OemQuotes

Field Value

VirtualButton

OemSemicolon

The 'oemsemicolon' key.

public static readonly VirtualButton OemSemicolon

Field Value

VirtualButton

OemTilde

The 'oemtilde' key.

public static readonly VirtualButton OemTilde

Field Value

VirtualButton

P

The 'p' key.

public static readonly VirtualButton P

Field Value

VirtualButton

Pa1

The 'pa1' key.

public static readonly VirtualButton Pa1

Field Value

VirtualButton

PageDown

The 'pagedown' key.

public static readonly VirtualButton PageDown

Field Value

VirtualButton

PageUp

The 'pageup' key.

public static readonly VirtualButton PageUp

Field Value

VirtualButton

Pause

The 'pause' key.

public static readonly VirtualButton Pause

Field Value

VirtualButton

Play

The 'play' key.

public static readonly VirtualButton Play

Field Value

VirtualButton

Print

The 'print' key.

public static readonly VirtualButton Print

Field Value

VirtualButton

PrintScreen

The 'printscreen' key.

public static readonly VirtualButton PrintScreen

Field Value

VirtualButton

Prior

The 'prior' key.

public static readonly VirtualButton Prior

Field Value

VirtualButton

Q

The 'q' key.

public static readonly VirtualButton Q

Field Value

VirtualButton

R

The 'r' key.

public static readonly VirtualButton R

Field Value

VirtualButton

Return

The 'return' key.

public static readonly VirtualButton Return

Field Value

VirtualButton

Right

The 'right' key.

public static readonly VirtualButton Right

Field Value

VirtualButton

RightAlt

The 'rightalt' key.

public static readonly VirtualButton RightAlt

Field Value

VirtualButton

RightCtrl

The 'rightctrl' key.

public static readonly VirtualButton RightCtrl

Field Value

VirtualButton

RightShift

The 'rightshift' key.

public static readonly VirtualButton RightShift

Field Value

VirtualButton

RightWin

The 'rightwin' key.

public static readonly VirtualButton RightWin

Field Value

VirtualButton

S

The 's' key.

public static readonly VirtualButton S

Field Value

VirtualButton

Scroll

The 'scroll' key.

public static readonly VirtualButton Scroll

Field Value

VirtualButton

Select

The 'select' key.

public static readonly VirtualButton Select

Field Value

VirtualButton

SelectMedia

The 'selectmedia' key.

public static readonly VirtualButton SelectMedia

Field Value

VirtualButton

Separator

The 'separator' key.

public static readonly VirtualButton Separator

Field Value

VirtualButton

Sleep

The 'sleep' key.

public static readonly VirtualButton Sleep

Field Value

VirtualButton

Snapshot

The 'snapshot' key.

public static readonly VirtualButton Snapshot

Field Value

VirtualButton

Space

The 'space' key.

public static readonly VirtualButton Space

Field Value

VirtualButton

Subtract

The 'subtract' key.

public static readonly VirtualButton Subtract

Field Value

VirtualButton

T

The 't' key.

public static readonly VirtualButton T

Field Value

VirtualButton

Tab

The 'tab' key.

public static readonly VirtualButton Tab

Field Value

VirtualButton

U

The 'u' key.

public static readonly VirtualButton U

Field Value

VirtualButton

Up

The 'up' key.

public static readonly VirtualButton Up

Field Value

VirtualButton

V

The 'v' key.

public static readonly VirtualButton V

Field Value

VirtualButton

VolumeDown

The 'volumedown' key.

public static readonly VirtualButton VolumeDown

Field Value

VirtualButton

VolumeMute

The 'volumemute' key.

public static readonly VirtualButton VolumeMute

Field Value

VirtualButton

VolumeUp

The 'volumeup' key.

public static readonly VirtualButton VolumeUp

Field Value

VirtualButton

W

The 'w' key.

public static readonly VirtualButton W

Field Value

VirtualButton

X

The 'x' key.

public static readonly VirtualButton X

Field Value

VirtualButton

Y

The 'y' key.

public static readonly VirtualButton Y

Field Value

VirtualButton

Z

The 'z' key.

public static readonly VirtualButton Z

Field Value

VirtualButton

Zoom

The 'zoom' key.

public static readonly VirtualButton Zoom

Field Value

VirtualButton

Methods

GetValue(InputManager)

Gets the value associated with this virtual button from an input manager.

public override float GetValue(InputManager manager)

Parameters

manager InputManager

The manager.

Returns

float

System.Single.

IsDown(InputManager)

Indicate if the button is currently down

public override bool IsDown(InputManager manager)

Parameters

manager InputManager

The input manager

Returns

bool

IsPressed(InputManager)

Indicate if the button has been pressed since the last frame

public override bool IsPressed(InputManager manager)

Parameters

manager InputManager

The input manager

Returns

bool

IsReleased(InputManager)

Indicate if the button has been released since the last frame

public override bool IsReleased(InputManager manager)

Parameters

manager InputManager

The input manager

Returns

bool