MagTek USB KB INTELLIHEAD User Manual
Page 47

Section 4. USB Communications
39
Data structure:
Request Data:
Offset
Field Name
Description
0
ASCII value
Value of the ASCII character to be set in
the key map. This can be any value
between 0 and 127 (0x7F). For example,
to set the key map item for ASCII
character ‘?’ (card data end sentinel) use
the ASCII value of ‘?’ which is 63 (0x3F).
1
Key Usage ID
The value of the USB key usage ID that is
to be mapped to the given ASCII value.
For example, for the United States
keyboard map, usage ID 56 (0x38)
(keyboard / and ?) is mapped to ASCII
character ‘?’. To change this to the ASCII
character ‘>‘ use usage ID 55 (0x37)
(keyboard . and >).
2
Key Modifier Byte The value of the USB key modifier byte
that is to be mapped to the given ASCII
value. For example, for the United States
keyboard map, modifier byte 0x02 (left
shift key) is mapped to ASCII character ‘?’.
To change this to the ASCII character ‘>‘
use modifier byte 0x02 (left shift key).
Response Data: None
Result codes: 0 (success)
The following example maps the card ASCII data end sentinel character ‘?’ to the ‘>’ keyboard
key.
Example Request (Hex):
Cmd Num
Data Len
Data
04
03
3F 37 02
Example Response (Hex):
Result Code Data Len
Data
00
00