Appendix a. usage id definitions – MagTek USB INSERTION READER User Manual

Page 69

Advertising
background image

61

APPENDIX A. USAGE ID DEFINITIONS

This appendix is from the following document found on www.usb.org: Universal Serial Bus
HID Usage Tables, Version 1.12 and specifically for this manual, Section 10, Keyboard/Keypad
Page (0x07).

KEYBOARD/KEYPAD PAGE (0X07)

This section is the Usage Page for key codes to be used in implementing a USB keyboard. A
Boot Keyboard (84-, 101- or 104-key) should at a minimum support all associated usage codes
as indicated in the “Boot” column below.

The usage type of all key codes is Selectors (Sel), except for the modifier keys Keyboard Left
Control (0x224) to Keyboard Right GUI (0x231) which are Dynamic Flags (DV).

Note. A general note on Usages and languages: Due to the variation of keyboards from
language to language, it is not feasible to specify exact key mappings for every language. Where
this list is not specific for a key function in a language, the closest equivalent key position should
be used, so that a keyboard may be modified for a different language by simply printing different
keycaps. One example is the Y key on a North American keyboard. In Germany this is typically
Z. Rather than changing the keyboard firmware to put the Z Usage into that place in the
descriptor list, the vendor should use the Y Usage on both the North American and German
keyboards. This continues to be the existing practice in the industry, in order to minimize the
number of changes to the electronics to accommodate other languages.

Table A-1. Keyboard/Keypad

Usage ID

(Dec)

Usage ID

(Hex)

Usage Name

Ref:

Typical

AT-101

Position

PC

-AT

Mac

UNI

X

Boot

0

00

Reserved (no event indicated)

9

N/A

4/101/104

1

01

Keyboard ErrorRollOver

9

N/A

4/101/104

2

02

Keyboard POSTFail

9

N/A

4/101/104

3

03

Keyboard ErrorUndefined

9

N/A

4/101/104

4

04

Keyboard a and A

4

31

4/101/104

5

05

Keyboard b and B

50

4/101/104

6

06

Keyboard c and C

4

48

4/101/104

7

07

Keyboard d and D

33

4/101/104

8

08

Keyboard e and E

19

4/101/104

9

09

Keyboard f and F

34

4/101/104

10

0A

Keyboard g and G

35

4/101/104

11

0B

Keyboard h and H

36

4/101/104

12

0C

Keyboard i and I

24

4/101/104

13

0D

Keyboard j and J

37

4/101/104

14

0E

Keyboard k and K

38

4/101/104

15

0F

Keyboard l and L

39

4/101/104

16

10

Keyboard m and M

52

4/101/104

17

11

Keyboard n and N

51

4/101/104

Advertising