MagTek USB KB SURESWIPE & USB KB SWIPE READER User Manual
Page 49

Section 4. USB Communications
41
combined with the left ALT key modifier, last keypad ‘3’ is sent combined
with the left ALT key modifier.
Data structure:
Request Data:
Offset
Field Name
Description
0
ASCII value
Value of the ASCII character to be
retrieved from the key map. This can be
any value between 0 and 127 (0x7F). For
example, to retrieve the key map item for
ASCII character ‘?’ (card data end
sentinel) use the ASCII value of ‘?’ which
is 63 (0x3F).
Response Data:
Offset
Field Name
Description
0
Key Usage ID
The value of the USB key usage ID that is
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 ‘?’.
1
Key Modifier Byte The value of the USB key modifier byte
that is 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 ‘?’.
Result codes: 0 (success)
Example Request (Hex):
Cmd Num
Data Len
Data
03
01
3F
Example Response (Hex):
Result Code Data Len
Data
00
02
38 02