KeyboardKey

Description

enum Tinman.Engine.Application.KeyboardKey

Enumeration of known keyboard keys.

This is the keyboard layout (QWERTZ, DE) this enumeration is referring to:

+-----+   +---+---+---+---+ +---+---+---+---+ +---+---+---+---+ +---+---+---+
| ESC |   |F1 |F2 |F3 |F4 | |F5 |F6 |F7 |F8 | |F9 |F10|F11|F12| |   |SCR|PAU|
+-----+   +---+---+---+---+ +---+---+---+---+ +---+---+---+---+ +---+---+---+

+----+---+---+---+---+---+---+---+---+---+---+---+---+--------+ +---+---+---+ +---+---+---+---+
| #1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 |#2 |#3 |  BACK  | |INS|HOM|PGU| |NUM|DIV|MUL|SUB|
+-----+---+---+---+---+---+---+---+---+---+---+---+---+-------+ +---+---+---+ +---+---+---+---+
| TAB | Q*| W*| E | R | T | Z*| U | I | O | P |#4 |#5 |       | |DEL|END|PGD| |N7 |N8 |N9 |   |
+------+---+---+---+---+---+---+---+---+---+---+---+---+  RET | +---+---+---+ +---+---+---|ADD|
| CAPS | A*| S | D |~F~| G | H |~J~| K | L |#6 |#7 |#8 |      |               |N4 |N5 |N6 |   |
+----+---+---+---+---+---+---+---+---+---+---+---+------------+     +---+     +---+---+---+---+
|SHFT|#9 | Y*| X | C | V | B | N | M*|#10|#11|#12|    SHFT    |     |UP |     |N1 |N2 |N3 | R |
+----+----+----+--------------------------+----+----+----+----+ +---+---+---+ +-------+---| E |
|CTRL|    | ALT|           Space          |    |    | APP|CTRL| |LFT|DWN|RGT| |  N0   |DEC| T |
+----+----+----+--------------------------+----+----+----+----+ +---+---+---+ +-------+---+---+

The key names map to KeyboardKey values as follows:

The following keys are available when NumpadLock (NUM) is turned on:

The following default key bindings are used by the AddOns library:

Public / Constants

Alt

public constant Alt → (0:int32)

The key ALT.

Applications

public constant Applications → (1:int32)

The key APP.

ArrowDown

public constant ArrowDown → (2:int32)

The key DWN.

ArrowLeft

public constant ArrowLeft → (3:int32)

The key LFT.

ArrowRight

public constant ArrowRight → (4:int32)

The key RGT.

ArrowUp

public constant ArrowUp → (5:int32)

The key UP.

Backspace

public constant Backspace → (6:int32)

The key BACK.

CapsLock

public constant CapsLock → (7:int32)

The key CAPS.

Control

public constant Control → (8:int32)

The key CTRL.

Custom1

public constant Custom1 → (9:int32)

The key #1.

Custom2

public constant Custom2 → (10:int32)

The key #2.

Custom3

public constant Custom3 → (11:int32)

The key #3.

Custom4

public constant Custom4 → (12:int32)

The key #4.

Custom5

public constant Custom5 → (13:int32)

The key #5.

Custom6

public constant Custom6 → (14:int32)

The key #6.

Custom7

public constant Custom7 → (15:int32)

The key #7.

Custom8

public constant Custom8 → (16:int32)

The key #8.

Custom9

public constant Custom9 → (17:int32)

The key #9.

Custom10

public constant Custom10 → (18:int32)

The key #10.

Custom11

public constant Custom11 → (19:int32)

The key #11.

Custom12

public constant Custom12 → (20:int32)

The key #12.

Del

public constant Del → (21:int32)

The key DEL.

Digit0

public constant Digit0 → (22:int32)

The key 0.

Digit1

public constant Digit1 → (23:int32)

The key 1.

Digit2

public constant Digit2 → (24:int32)

The key 2.

Digit3

public constant Digit3 → (25:int32)

The key 3.

Digit4

public constant Digit4 → (26:int32)

The key 4.

Digit5

public constant Digit5 → (27:int32)

The key 5.

Digit6

public constant Digit6 → (28:int32)

The key 6.

Digit7

public constant Digit7 → (29:int32)

The key 7.

Digit8

public constant Digit8 → (30:int32)

The key 8.

Digit9

public constant Digit9 → (31:int32)

The key 9.

End

public constant End → (32:int32)

The key END.

Escape

public constant Escape → (33:int32)

The key ESC.

F1

public constant F1 → (34:int32)

The key F1.

F2

public constant F2 → (35:int32)

The key F2.

F3

public constant F3 → (36:int32)

The key F3.

F4

public constant F4 → (37:int32)

The key F4.

F5

public constant F5 → (38:int32)

The key F5.

F6

public constant F6 → (39:int32)

The key F6.

F7

public constant F7 → (40:int32)

The key F7.

F8

public constant F8 → (41:int32)

The key F8.

F9

public constant F9 → (42:int32)

The key F9.

F10

public constant F10 → (43:int32)

The key F10.

F11

public constant F11 → (44:int32)

The key F11.

F12

public constant F12 → (45:int32)

The key F12.

Home

public constant Home → (46:int32)

The key HOM.

Ins

public constant Ins → (47:int32)

The key INS.

LetterA

public constant LetterA → (48:int32)

The key A.

LetterB

public constant LetterB → (49:int32)

The key B.

LetterC

public constant LetterC → (50:int32)

The key C.

LetterD

public constant LetterD → (51:int32)

The key D.

LetterE

public constant LetterE → (52:int32)

The key E.

LetterF

public constant LetterF → (53:int32)

The key F.

LetterG

public constant LetterG → (54:int32)

The key G.

LetterH

public constant LetterH → (55:int32)

The key H.

LetterI

public constant LetterI → (56:int32)

The key I.

LetterJ

public constant LetterJ → (57:int32)

The key J.

LetterK

public constant LetterK → (58:int32)

The key K.

LetterL

public constant LetterL → (59:int32)

The key L.

LetterM

public constant LetterM → (60:int32)

The key M.

LetterN

public constant LetterN → (61:int32)

The key N.

LetterO

public constant LetterO → (62:int32)

The key O.

LetterP

public constant LetterP → (63:int32)

The key P.

LetterQ

public constant LetterQ → (64:int32)

The key Q.

LetterR

public constant LetterR → (65:int32)

The key R.

LetterS

public constant LetterS → (66:int32)

The key S.

LetterT

public constant LetterT → (67:int32)

The key T.

LetterU

public constant LetterU → (68:int32)

The key U.

LetterV

public constant LetterV → (69:int32)

The key V.

LetterW

public constant LetterW → (70:int32)

The key W.

LetterX

public constant LetterX → (71:int32)

The key X.

LetterY

public constant LetterY → (72:int32)

The key Y.

LetterZ

public constant LetterZ → (73:int32)

The key Z.

Numpad0

public constant Numpad0 → (74:int32)

The key N0.

Numpad1

public constant Numpad1 → (75:int32)

The key N1.

Numpad2

public constant Numpad2 → (76:int32)

The key N2.

Numpad3

public constant Numpad3 → (77:int32)

The key N3.

Numpad4

public constant Numpad4 → (78:int32)

The key N4.

Numpad5

public constant Numpad5 → (79:int32)

The key N5.

Numpad6

public constant Numpad6 → (80:int32)

The key N6.

Numpad7

public constant Numpad7 → (81:int32)

The key N7.

Numpad8

public constant Numpad8 → (82:int32)

The key N8.

Numpad9

public constant Numpad9 → (83:int32)

The key N9.

NumpadAdd

public constant NumpadAdd → (84:int32)

The key ADD.

NumpadDec

public constant NumpadDec → (85:int32)

The key DEC.

NumpadDiv

public constant NumpadDiv → (86:int32)

The key DIV.

NumpadLock

public constant NumpadLock → (87:int32)

The key NUM.

NumpadMul

public constant NumpadMul → (88:int32)

The key MUL.

NumpadSub

public constant NumpadSub → (89:int32)

The key SUB.

PageDown

public constant PageDown → (90:int32)

The key PDG.

PageUp

public constant PageUp → (91:int32)

The key PGU.

Pause

public constant Pause → (92:int32)

The key PAU.

Return

public constant Return → (93:int32)

The key RET.

ScrollLock

public constant ScrollLock → (94:int32)

The key SCR.

Shift

public constant Shift → (95:int32)

The key SHFT.

Space

public constant Space → (96:int32)

The key Space.

Tab

public constant Tab → (97:int32)

The key TAB.

None

public constant None → (-1:int32)

No keyboard key.