Protocols / KeyboardEmulation / ScancodesMap Value
Defines a map that describe how to map various ASCII characters
to Scancodes (=codes that are transferred via USB). Since
scancodes are keyboard layout specific (=country specific) they
have to be adapted for different countries.
Properties
- Value ID: 0x012B/0x02
Format
Name | Type/Size | Description | ||
---|---|---|---|---|
- | Array (until end of frame) | - | ||
AsciiCode | Integer (8 bits) | - | ||
ScanCode | Integer (8 bits) | - | ||
ModifierKeys | Bit mask (8 bits) | Every scancode can be combined with "modifier keys" that modifies the meaning of a key when pressed simultaneously. | ||
Shift | Boolean (bit 0x80) | - | ||
Ctrl | Boolean (bit 0x40) | - | ||
AltGr | Boolean (bit 0x20) | - | ||
RFU | Integer (bit mask area 0x1F) | Zero padding |