The Keyboard object is used to build an interface that can be controlled by a user with a standard keyboard. You can use the properties of the Keyboard object without using a constructor "new". The properties of the Keyboard object are constants representing the keys that are most commonly used to control games.


Public Constants:


Lib.Media.UI.Keyboard.A

Constant associated with the key code value for the A key (65).

Lib.Media.UI.Keyboard.B

Constant associated with the key code value for the B key (66).

Lib.Media.UI.Keyboard.C

Constant associated with the key code value for the C key (67).

Lib.Media.UI.Keyboard.D

Constant associated with the key code value for the D key (68).

Lib.Media.UI.Keyboard.E

Constant associated with the key code value for the E key (69).

Lib.Media.UI.Keyboard.F

Constant associated with the key code value for the F key (70).

Lib.Media.UI.Keyboard.G

Constant associated with the key code value for the G key (71).

Lib.Media.UI.Keyboard.H

Constant associated with the key code value for the H key (72).

Lib.Media.UI.Keyboard.I

Constant associated with the key code value for the I key (73).

Lib.Media.UI.Keyboard.J

Constant associated with the key code value for the J key (74).

Lib.Media.UI.Keyboard.K

Constant associated with the key code value for the K key (75).

Lib.Media.UI.Keyboard.L

Constant associated with the key code value for the L key (76).

Lib.Media.UI.Keyboard.M

Constant associated with the key code value for the M key (77).

Lib.Media.UI.Keyboard.N

Constant associated with the key code value for the N key (78).

Lib.Media.UI.Keyboard.O

Constant associated with the key code value for the O key (79).

Lib.Media.UI.Keyboard.P

Constant associated with the key code value for the P key (80).

Lib.Media.UI.Keyboard.Q

Constant associated with the key code value for the Q key (81).

Lib.Media.UI.Keyboard.R

Constant associated with the key code value for the R key (82).

Lib.Media.UI.Keyboard.S

Constant associated with the key code value for the S key (83).

Lib.Media.UI.Keyboard.T

Constant associated with the key code value for the T key (84).

Lib.Media.UI.Keyboard.U

Constant associated with the key code value for the U key (85).

Lib.Media.UI.Keyboard.V

Constant associated with the key code value for the V key (86).

Lib.Media.UI.Keyboard.W

Constant associated with the key code value for the W key (87).

Lib.Media.UI.Keyboard.X

Constant associated with the key code value for the X key (88).

Lib.Media.UI.Keyboard.Y

Constant associated with the key code value for the Y key (89).

Lib.Media.UI.Keyboard.Z

Constant associated with the key code value for the Z key (90).

Lib.Media.UI.Keyboard.ALTERNATE

Constant associated with the key code value for the Alternate (Option) key (18).

Lib.Media.UI.Keyboard.BACKQUOTE

Constant associated with the key code value for the ` key (192).

Lib.Media.UI.Keyboard.BACKSLASH

Constant associated with the key code value for the \ key (220).

Lib.Media.UI.Keyboard.BACKSPACE

Constant associated with the key code value for the Backspace key (8).

Lib.Media.UI.Keyboard.CAPS_LOCK

Constant associated with the key code value for the Caps Lock key (20).

Lib.Media.UI.Keyboard.COMMA

Constant associated with the key code value for the , key (188).

Lib.Media.UI.Keyboard.COMMAND

Constant associated with the key code value for the Mac command key (15).

Lib.Media.UI.Keyboard.CONTROL

Constant associated with the key code value for the Control key (17).

Lib.Media.UI.Keyboard.DELETE

Constant associated with the key code value for the Delete key (46).

Lib.Media.UI.Keyboard.DOWN

Constant associated with the key code value for the Down Arrow key (40).

Lib.Media.UI.Keyboard.END

Constant associated with the key code value for the End key (35).

Lib.Media.UI.Keyboard.ENTER

Constant associated with the key code value for the Enter key (13).

Lib.Media.UI.Keyboard.EQUAL

Constant associated with the key code value for the = key (187).

Lib.Media.UI.Keyboard.ESCAPE

Constant associated with the key code value for the Escape key (27).

Lib.Media.UI.Keyboard.F1

Constant associated with the key code value for the F1 key (112).

Lib.Media.UI.Keyboard.F2

Constant associated with the key code value for the F2 key (113).

Lib.Media.UI.Keyboard.F3

Constant associated with the key code value for the F3 key (114).

Lib.Media.UI.Keyboard.F4

Constant associated with the key code value for the F4 key (115).

Lib.Media.UI.Keyboard.F5

Constant associated with the key code value for the F5 key (116).

Lib.Media.UI.Keyboard.F6

Constant associated with the key code value for the F6 key (117).

Lib.Media.UI.Keyboard.F7

Constant associated with the key code value for the F7 key (118).

Lib.Media.UI.Keyboard.F8

Constant associated with the key code value for the F8 key (119).

Lib.Media.UI.Keyboard.F9

Constant associated with the key code value for the F9 key (120).

Lib.Media.UI.Keyboard.F10

Constant associated with the key code value for the F10 key (121).

Lib.Media.UI.Keyboard.F11

Constant associated with the key code value for the F11 key (122).

Lib.Media.UI.Keyboard.F12

Constant associated with the key code value for the F12 key (123).

Lib.Media.UI.Keyboard.F13

Constant associated with the key code value for the F13 key (124).

Lib.Media.UI.Keyboard.F14

Constant associated with the key code value for the F14 key (125).

Lib.Media.UI.Keyboard.F15

Constant associated with the key code value for the F15 key (126).

Lib.Media.UI.Keyboard.HOME

Constant associated with the key code value for the Home key (36).

Lib.Media.UI.Keyboard.INSERT

Constant associated with the key code value for the Insert key (45).

Lib.Media.UI.Keyboard.LEFT

Constant associated with the key code value for the Left Arrow key (37).

Lib.Media.UI.Keyboard.LEFTBRACKET

Constant associated with the key code value for the [ key (219).

Lib.Media.UI.Keyboard.MINUS

Constant associated with the key code value for the - key (189).

Lib.Media.UI.Keyboard.NUMBER_0

Constant associated with the key code value for the 0 key (48).

Lib.Media.UI.Keyboard.NUMBER_1

Constant associated with the key code value for the 1 key (49).

Lib.Media.UI.Keyboard.NUMBER_2

Constant associated with the key code value for the 2 key (50).

Lib.Media.UI.Keyboard.NUMBER_3

Constant associated with the key code value for the 3 key (51).

Lib.Media.UI.Keyboard.NUMBER_4

Constant associated with the key code value for the 4 key (52).

Lib.Media.UI.Keyboard.NUMBER_5

Constant associated with the key code value for the 5 key (53).

Lib.Media.UI.Keyboard.NUMBER_6

Constant associated with the key code value for the 6 key (54).

Lib.Media.UI.Keyboard.NUMBER_7

Constant associated with the key code value for the 7 key (55).

Lib.Media.UI.Keyboard.NUMBER_8

Constant associated with the key code value for the 8 key (56).

Lib.Media.UI.Keyboard.NUMBER_9

Constant associated with the key code value for the 9 key (57).

Lib.Media.UI.Keyboard.NUMPAD

Constant associated with the key code value for the number pad (21).

Lib.Media.UI.Keyboard.NUMPAD_0

Constant associated with the key code value for the number 0 key on the number pad (96).

Lib.Media.UI.Keyboard.NUMPAD_1

Constant associated with the key code value for the number 1 key on the number pad (97).

Lib.Media.UI.Keyboard.NUMPAD_2

Constant associated with the key code value for the number 2 key on the number pad (98).

Lib.Media.UI.Keyboard.NUMPAD_3

Constant associated with the key code value for the number 3 key on the number pad (99).

Lib.Media.UI.Keyboard.NUMPAD_4

Constant associated with the key code value for the number 4 key on the number pad (100).

Lib.Media.UI.Keyboard.NUMPAD_5

Constant associated with the key code value for the number 5 key on the number pad (101).

Lib.Media.UI.Keyboard.NUMPAD_6

Constant associated with the key code value for the number 6 key on the number pad (102).

Lib.Media.UI.Keyboard.NUMPAD_7

Constant associated with the key code value for the number 7 key on the number pad (103).

Lib.Media.UI.Keyboard.NUMPAD_8

Constant associated with the key code value for the number 8 key on the number pad (104).

Lib.Media.UI.Keyboard.NUMPAD_9

Constant associated with the key code value for the number 9 key on the number pad (105).

Lib.Media.UI.Keyboard.NUMPAD_ADD

Constant associated with the key code value for the addition key on the number pad (107).

Lib.Media.UI.Keyboard.NUMPAD_DECIMAL

Constant associated with the key code value for the decimal key on the number pad (110).

Lib.Media.UI.Keyboard.NUMPAD_DIVIDE

Constant associated with the key code value for the division key on the number pad (111).

Lib.Media.UI.Keyboard.NUMPAD_ENTER

Constant associated with the key code value for the Enter key on the number pad (108).

Lib.Media.UI.Keyboard.NUMPAD_MULTIPLY

Constant associated with the key code value for the multiplication key on the number pad (106).

Lib.Media.UI.Keyboard.NUMPAD_SUBTRACT

Constant associated with the key code value for the subtraction key on the number pad (109).

Lib.Media.UI.Keyboard.PAGE_DOWN

Constant associated with the key code value for the Page Down key (34).

Lib.Media.UI.Keyboard.PAGE_UP

Constant associated with the key code value for the Page Up key (33).

Lib.Media.UI.Keyboard.PERIOD

Constant associated with the key code value for the . (190).

Lib.Media.UI.Keyboard.QUOTE

Constant associated with the key code value for the ' key (222).

Lib.Media.UI.Keyboard.RIGHT

Constant associated with the key code value for the Right Arrow key (39).

Lib.Media.UI.Keyboard.RIGHTBRACKET

Constant associated with the key code value for the ] key (221).

Lib.Media.UI.Keyboard.SEMICOLON

Constant associated with the key code value for the ; key (186).

Lib.Media.UI.Keyboard.SHIFT

Constant associated with the key code value for the Shift key (16).

Lib.Media.UI.Keyboard.SLASH

Constant associated with the key code value for the / key (191).

Lib.Media.UI.Keyboard.SPACE

Constant associated with the key code value for the Spacebar (32).

Lib.Media.UI.Keyboard.TAB

Constant associated with the key code value for the Tab key (9).

Lib.Media.UI.Keyboard.UP

Constant associated with the key code value for the Up Arrow key (38).


Created with the Personal Edition of HelpNDoc: Free Web Help generator