Class VirtualButton.Keyboard
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
Fields
A
The 'a' key.
public static readonly VirtualButton A
Field Value
Add
The 'add' key.
public static readonly VirtualButton Add
Field Value
Apps
The 'apps' key.
public static readonly VirtualButton Apps
Field Value
Attn
The 'attn' key.
public static readonly VirtualButton Attn
Field Value
B
The 'b' key.
public static readonly VirtualButton B
Field Value
Back
The 'back' key.
public static readonly VirtualButton Back
Field Value
BrowserBack
The 'browserback' key.
public static readonly VirtualButton BrowserBack
Field Value
BrowserFavorites
The 'browserfavorites' key.
public static readonly VirtualButton BrowserFavorites
Field Value
BrowserForward
The 'browserforward' key.
public static readonly VirtualButton BrowserForward
Field Value
BrowserHome
The 'browserhome' key.
public static readonly VirtualButton BrowserHome
Field Value
BrowserRefresh
The 'browserrefresh' key.
public static readonly VirtualButton BrowserRefresh
Field Value
BrowserSearch
The 'browsersearch' key.
public static readonly VirtualButton BrowserSearch
Field Value
BrowserStop
The 'browserstop' key.
public static readonly VirtualButton BrowserStop
Field Value
C
The 'c' key.
public static readonly VirtualButton C
Field Value
Cancel
The 'cancel' key.
public static readonly VirtualButton Cancel
Field Value
Capital
The 'capital' key.
public static readonly VirtualButton Capital
Field Value
CapsLock
The 'capslock' key.
public static readonly VirtualButton CapsLock
Field Value
Clear
The 'clear' key.
public static readonly VirtualButton Clear
Field Value
CrSel
The 'crsel' key.
public static readonly VirtualButton CrSel
Field Value
D
The 'd' key.
public static readonly VirtualButton D
Field Value
D0
The 'd0' key.
public static readonly VirtualButton D0
Field Value
D1
The 'd1' key.
public static readonly VirtualButton D1
Field Value
D2
The 'd2' key.
public static readonly VirtualButton D2
Field Value
D3
The 'd3' key.
public static readonly VirtualButton D3
Field Value
D4
The 'd4' key.
public static readonly VirtualButton D4
Field Value
D5
The 'd5' key.
public static readonly VirtualButton D5
Field Value
D6
The 'd6' key.
public static readonly VirtualButton D6
Field Value
D7
The 'd7' key.
public static readonly VirtualButton D7
Field Value
D8
The 'd8' key.
public static readonly VirtualButton D8
Field Value
D9
The 'd9' key.
public static readonly VirtualButton D9
Field Value
Decimal
The 'decimal' key.
public static readonly VirtualButton Decimal
Field Value
Delete
The 'delete' key.
public static readonly VirtualButton Delete
Field Value
Divide
The 'divide' key.
public static readonly VirtualButton Divide
Field Value
Down
The 'down' key.
public static readonly VirtualButton Down
Field Value
E
The 'e' key.
public static readonly VirtualButton E
Field Value
End
The 'end' key.
public static readonly VirtualButton End
Field Value
Enter
The 'enter' key.
public static readonly VirtualButton Enter
Field Value
EraseEof
The 'eraseeof' key.
public static readonly VirtualButton EraseEof
Field Value
Escape
The 'escape' key.
public static readonly VirtualButton Escape
Field Value
ExSel
The 'exsel' key.
public static readonly VirtualButton ExSel
Field Value
Execute
The 'execute' key.
public static readonly VirtualButton Execute
Field Value
F
The 'f' key.
public static readonly VirtualButton F
Field Value
F1
The 'f1' key.
public static readonly VirtualButton F1
Field Value
F10
The 'f10' key.
public static readonly VirtualButton F10
Field Value
F11
The 'f11' key.
public static readonly VirtualButton F11
Field Value
F12
The 'f12' key.
public static readonly VirtualButton F12
Field Value
F13
The 'f13' key.
public static readonly VirtualButton F13
Field Value
F14
The 'f14' key.
public static readonly VirtualButton F14
Field Value
F15
The 'f15' key.
public static readonly VirtualButton F15
Field Value
F16
The 'f16' key.
public static readonly VirtualButton F16
Field Value
F17
The 'f17' key.
public static readonly VirtualButton F17
Field Value
F18
The 'f18' key.
public static readonly VirtualButton F18
Field Value
F19
The 'f19' key.
public static readonly VirtualButton F19
Field Value
F2
The 'f2' key.
public static readonly VirtualButton F2
Field Value
F20
The 'f20' key.
public static readonly VirtualButton F20
Field Value
F21
The 'f21' key.
public static readonly VirtualButton F21
Field Value
F22
The 'f22' key.
public static readonly VirtualButton F22
Field Value
F23
The 'f23' key.
public static readonly VirtualButton F23
Field Value
F24
The 'f24' key.
public static readonly VirtualButton F24
Field Value
F3
The 'f3' key.
public static readonly VirtualButton F3
Field Value
F4
The 'f4' key.
public static readonly VirtualButton F4
Field Value
F5
The 'f5' key.
public static readonly VirtualButton F5
Field Value
F6
The 'f6' key.
public static readonly VirtualButton F6
Field Value
F7
The 'f7' key.
public static readonly VirtualButton F7
Field Value
F8
The 'f8' key.
public static readonly VirtualButton F8
Field Value
F9
The 'f9' key.
public static readonly VirtualButton F9
Field Value
FinalMode
The 'finalmode' key.
public static readonly VirtualButton FinalMode
Field Value
G
The 'g' key.
public static readonly VirtualButton G
Field Value
H
The 'h' key.
public static readonly VirtualButton H
Field Value
HangulMode
The 'hangulmode' key.
public static readonly VirtualButton HangulMode
Field Value
HanjaMode
The 'hanjamode' key.
public static readonly VirtualButton HanjaMode
Field Value
Help
The 'help' key.
public static readonly VirtualButton Help
Field Value
Home
The 'home' key.
public static readonly VirtualButton Home
Field Value
I
The 'i' key.
public static readonly VirtualButton I
Field Value
ImeAccept
The 'imeaccept' key.
public static readonly VirtualButton ImeAccept
Field Value
ImeConvert
The 'imeconvert' key.
public static readonly VirtualButton ImeConvert
Field Value
ImeModeChange
The 'imemodechange' key.
public static readonly VirtualButton ImeModeChange
Field Value
ImeNonConvert
The 'imenonconvert' key.
public static readonly VirtualButton ImeNonConvert
Field Value
Insert
The 'insert' key.
public static readonly VirtualButton Insert
Field Value
J
The 'j' key.
public static readonly VirtualButton J
Field Value
JunjaMode
The 'junjamode' key.
public static readonly VirtualButton JunjaMode
Field Value
K
The 'k' key.
public static readonly VirtualButton K
Field Value
KanaMode
The 'kanamode' key.
public static readonly VirtualButton KanaMode
Field Value
KanjiMode
The 'kanjimode' key.
public static readonly VirtualButton KanjiMode
Field Value
L
The 'l' key.
public static readonly VirtualButton L
Field Value
LaunchApplication1
The 'launchapplication1' key.
public static readonly VirtualButton LaunchApplication1
Field Value
LaunchApplication2
The 'launchapplication2' key.
public static readonly VirtualButton LaunchApplication2
Field Value
LaunchMail
The 'launchmail' key.
public static readonly VirtualButton LaunchMail
Field Value
Left
The 'left' key.
public static readonly VirtualButton Left
Field Value
LeftAlt
The 'leftalt' key.
public static readonly VirtualButton LeftAlt
Field Value
LeftCtrl
The 'leftctrl' key.
public static readonly VirtualButton LeftCtrl
Field Value
LeftShift
The 'leftshift' key.
public static readonly VirtualButton LeftShift
Field Value
LeftWin
The 'leftwin' key.
public static readonly VirtualButton LeftWin
Field Value
LineFeed
The 'linefeed' key.
public static readonly VirtualButton LineFeed
Field Value
M
The 'm' key.
public static readonly VirtualButton M
Field Value
MediaNextTrack
The 'medianexttrack' key.
public static readonly VirtualButton MediaNextTrack
Field Value
MediaPlayPause
The 'mediaplaypause' key.
public static readonly VirtualButton MediaPlayPause
Field Value
MediaPreviousTrack
The 'mediaprevioustrack' key.
public static readonly VirtualButton MediaPreviousTrack
Field Value
MediaStop
The 'mediastop' key.
public static readonly VirtualButton MediaStop
Field Value
Multiply
The 'multiply' key.
public static readonly VirtualButton Multiply
Field Value
N
The 'n' key.
public static readonly VirtualButton N
Field Value
Next
The 'next' key.
public static readonly VirtualButton Next
Field Value
NoName
The 'noname' key.
public static readonly VirtualButton NoName
Field Value
None
The 'none' key.
public static readonly VirtualButton None
Field Value
NumLock
The 'numlock' key.
public static readonly VirtualButton NumLock
Field Value
NumPad0
The 'numpad0' key.
public static readonly VirtualButton NumPad0
Field Value
NumPad1
The 'numpad1' key.
public static readonly VirtualButton NumPad1
Field Value
NumPad2
The 'numpad2' key.
public static readonly VirtualButton NumPad2
Field Value
NumPad3
The 'numpad3' key.
public static readonly VirtualButton NumPad3
Field Value
NumPad4
The 'numpad4' key.
public static readonly VirtualButton NumPad4
Field Value
NumPad5
The 'numpad5' key.
public static readonly VirtualButton NumPad5
Field Value
NumPad6
The 'numpad6' key.
public static readonly VirtualButton NumPad6
Field Value
NumPad7
The 'numpad7' key.
public static readonly VirtualButton NumPad7
Field Value
NumPad8
The 'numpad8' key.
public static readonly VirtualButton NumPad8
Field Value
NumPad9
The 'numpad9' key.
public static readonly VirtualButton NumPad9
Field Value
O
The 'o' key.
public static readonly VirtualButton O
Field Value
Oem1
The 'oem1' key.
public static readonly VirtualButton Oem1
Field Value
Oem102
The 'oem102' key.
public static readonly VirtualButton Oem102
Field Value
Oem2
The 'oem2' key.
public static readonly VirtualButton Oem2
Field Value
Oem3
The 'oem3' key.
public static readonly VirtualButton Oem3
Field Value
Oem4
The 'oem4' key.
public static readonly VirtualButton Oem4
Field Value
Oem5
The 'oem5' key.
public static readonly VirtualButton Oem5
Field Value
Oem6
The 'oem6' key.
public static readonly VirtualButton Oem6
Field Value
Oem7
The 'oem7' key.
public static readonly VirtualButton Oem7
Field Value
Oem8
The 'oem8' key.
public static readonly VirtualButton Oem8
Field Value
OemBackslash
The 'oembackslash' key.
public static readonly VirtualButton OemBackslash
Field Value
OemClear
The 'oemclear' key.
public static readonly VirtualButton OemClear
Field Value
OemCloseBrackets
The 'oemclosebrackets' key.
public static readonly VirtualButton OemCloseBrackets
Field Value
OemComma
The 'oemcomma' key.
public static readonly VirtualButton OemComma
Field Value
OemMinus
The 'oemminus' key.
public static readonly VirtualButton OemMinus
Field Value
OemOpenBrackets
The 'oemopenbrackets' key.
public static readonly VirtualButton OemOpenBrackets
Field Value
OemPeriod
The 'oemperiod' key.
public static readonly VirtualButton OemPeriod
Field Value
OemPipe
The 'oempipe' key.
public static readonly VirtualButton OemPipe
Field Value
OemPlus
The 'oemplus' key.
public static readonly VirtualButton OemPlus
Field Value
OemQuestion
The 'oemquestion' key.
public static readonly VirtualButton OemQuestion
Field Value
OemQuotes
The 'oemquotes' key.
public static readonly VirtualButton OemQuotes
Field Value
OemSemicolon
The 'oemsemicolon' key.
public static readonly VirtualButton OemSemicolon
Field Value
OemTilde
The 'oemtilde' key.
public static readonly VirtualButton OemTilde
Field Value
P
The 'p' key.
public static readonly VirtualButton P
Field Value
Pa1
The 'pa1' key.
public static readonly VirtualButton Pa1
Field Value
PageDown
The 'pagedown' key.
public static readonly VirtualButton PageDown
Field Value
PageUp
The 'pageup' key.
public static readonly VirtualButton PageUp
Field Value
Pause
The 'pause' key.
public static readonly VirtualButton Pause
Field Value
Play
The 'play' key.
public static readonly VirtualButton Play
Field Value
The 'print' key.
public static readonly VirtualButton Print
Field Value
PrintScreen
The 'printscreen' key.
public static readonly VirtualButton PrintScreen
Field Value
Prior
The 'prior' key.
public static readonly VirtualButton Prior
Field Value
Q
The 'q' key.
public static readonly VirtualButton Q
Field Value
R
The 'r' key.
public static readonly VirtualButton R
Field Value
Return
The 'return' key.
public static readonly VirtualButton Return
Field Value
Right
The 'right' key.
public static readonly VirtualButton Right
Field Value
RightAlt
The 'rightalt' key.
public static readonly VirtualButton RightAlt
Field Value
RightCtrl
The 'rightctrl' key.
public static readonly VirtualButton RightCtrl
Field Value
RightShift
The 'rightshift' key.
public static readonly VirtualButton RightShift
Field Value
RightWin
The 'rightwin' key.
public static readonly VirtualButton RightWin
Field Value
S
The 's' key.
public static readonly VirtualButton S
Field Value
Scroll
The 'scroll' key.
public static readonly VirtualButton Scroll
Field Value
Select
The 'select' key.
public static readonly VirtualButton Select
Field Value
SelectMedia
The 'selectmedia' key.
public static readonly VirtualButton SelectMedia
Field Value
Separator
The 'separator' key.
public static readonly VirtualButton Separator
Field Value
Sleep
The 'sleep' key.
public static readonly VirtualButton Sleep
Field Value
Snapshot
The 'snapshot' key.
public static readonly VirtualButton Snapshot
Field Value
Space
The 'space' key.
public static readonly VirtualButton Space
Field Value
Subtract
The 'subtract' key.
public static readonly VirtualButton Subtract
Field Value
T
The 't' key.
public static readonly VirtualButton T
Field Value
Tab
The 'tab' key.
public static readonly VirtualButton Tab
Field Value
U
The 'u' key.
public static readonly VirtualButton U
Field Value
Up
The 'up' key.
public static readonly VirtualButton Up
Field Value
V
The 'v' key.
public static readonly VirtualButton V
Field Value
VolumeDown
The 'volumedown' key.
public static readonly VirtualButton VolumeDown
Field Value
VolumeMute
The 'volumemute' key.
public static readonly VirtualButton VolumeMute
Field Value
VolumeUp
The 'volumeup' key.
public static readonly VirtualButton VolumeUp
Field Value
W
The 'w' key.
public static readonly VirtualButton W
Field Value
X
The 'x' key.
public static readonly VirtualButton X
Field Value
Y
The 'y' key.
public static readonly VirtualButton Y
Field Value
Z
The 'z' key.
public static readonly VirtualButton Z
Field Value
Zoom
The 'zoom' key.
public static readonly VirtualButton Zoom
Field Value
Methods
GetValue(InputManager)
Gets the value associated with this virtual button from an input manager.
public override float GetValue(InputManager manager)
Parameters
manager
InputManagerThe manager.
Returns
- float
System.Single.
IsDown(InputManager)
Indicate if the button is currently down
public override bool IsDown(InputManager manager)
Parameters
manager
InputManagerThe input manager
Returns
IsPressed(InputManager)
Indicate if the button has been pressed since the last frame
public override bool IsPressed(InputManager manager)
Parameters
manager
InputManagerThe input manager
Returns
IsReleased(InputManager)
Indicate if the button has been released since the last frame
public override bool IsReleased(InputManager manager)
Parameters
manager
InputManagerThe input manager