Key value corresponding to keyboard

xiaoxiao2021-03-06  223

Description / R

0x1 mouse left mouse / R

0x2 mouse button / R

0x3 Cancel Key / R

0x4 mouse button / R

0x8 Backspace key / R

0x9 Tab button / R

0xc CLEAR button / R

0xD ENTER button / R

0x10 Shift key / R

0x11 Ctrl key / R

0x12 MENU / R

0x13 PAUSE button / R

0x14 Caps LOCK button / R

0x1b ESC button / R

0x20 SpaceBAR button / R

0x21 Page Up Key / R

0x22 Page Down Key / R

0x23 end key / r

0x24 home button / R

0x25 LEFT Arrow button / R

0x26 UP Arrow Key / R

0x27 Right Arrow button / R

0x28 Down Arrow Key / R

0x29 SELECT button / R

0x2a Print Screen Key / R

0x2b Execute Key / R

0x2c Snapshot button / R

0x2D INSERT button / R

0x2e delete key / r

0x2f Help button / R

0x90 NUM LOCK button / R

The A to Z keys are the same as the ASCII code of the A - z letters:

Value Description / R

65 A / R

66 B / R

67 C / R

68 D Key / R

69 E keys / R

70 f / R

71 g / r

72 h / r

73 I / R

74 J Key / R

75 k / R

76 L / R

77 m / R

78 n keys / R

79 o Key / R

80 p keys / r

81 q / r

82 r keys / r

83 S key / r

84 T-key / R

85 U key / r

86 V Key / R

87 w kernel / r

88 X-key / R

89 y key / r

90 z key / r

0 to 9 keys are the same as the number 0 - 9 ASCII code:

Value Description / R

48 0 keys / R

49 1 / R

50 2 keys / R

51 3 key / r

52 4 / R

53 5 key / r

54 6 / R

55 7 keys / R

56 8 key / r

57 9 / R

The following constants represent the keys on the numeric keypad:

Value Description / R

0x60 0 key / R

0x61 1 / R

0x62 2 keys / R

0x63 3 key / R

0x64 4 / R

0x65 5 / R

0x66 6 / R

0x67 7 keys / R

0x68 8 key / r

0x69 9 / R

0x6A Multiplication Sign (*) button / R

0x6b Plus Sign ( ) button / R

0x6C Enter / R

0x6D minus Sign (-) button / R

0x6e decimal point (.) / R

0x6f Division Sign (/) button / R

The following constants represent the function key:

Value Description / R

0x70 F1 key / R

0x71 F2 key / R

0x72 F3 key / R

0x73 F4 key / R

0x74 F5 / R

0x75 F6 / R

0x76 F7 / R

0x77 F8 keys / R

0x78 F9 / R

0x79 F10 key / R

0x7a F11 key / R

0x7b F12 key / R

0x7c F13 key / R

0x7D F14 key / R

0x7e F15 key / R

0x7F F16 key / R

转载请注明原文地址:https://www.9cbs.com/read-128897.html

New Post(0)