0x0C/0x018D
HID Usage 0x0C/0x018D — AL Contacts/Address Book
0x0C/0x018D is the HID usage AL Contacts/Address Book on the Consumer page — usage 397 in decimal, 0x000C018D as a 32-bit extended usage.
Everything runs locally in your browser — nothing is uploaded.
- Hex
- 0x18D
- Dec
- 397
- Name
- AL Contacts/Address Book
- Usage page
- 0x0C · Consumer
- Page, padded
- 0x000C
- Usage id
- 0x18D · 0x018D
- 32-bit usage
- 0x000C018D
- Usage Type
- Sel
- Source
- The usage name comes from the HID Usage Tables as shipped in
@tools/core-hid. The Usage Type is read from the tables' own Usage Type column; where this site has no source for one it says so instead of printing a plausible letter pair. The descriptor snippet is generated from the usage id and decoded by the same parser /hid-inspector/ uses, so it cannot describe a descriptor that would not actually parse.
What this is
Open the address book or contacts application. It is a launch usage, so it asks for an application rather than for an action inside one. AL Contacts/Address Book is the name the HID Usage Tables give usage 0x18D on the Consumer page, and it is a proper noun that is not translated anywhere on this site. Usage Type: Sel. Selector — one member of a set, meaningful only inside the array that owns it. A report says which member was picked, once. The source is the Usage Type column of the HID Usage Tables' own Consumer page, not this site's inference.
In a report descriptor
The bytes a descriptor uses to declare this one control, decoded by the same parser /hid-inspector/ runs. Load it into the decoder below to see it taken apart item by item.
05 0C 09 01 A1 01 15 00 25 01 75 01 95 01 0A 8D 01 81 02 95 07 81 03 C0
Where you see it
A usage only means anything together with its page, so the thing you are actually holding is the pair: usage page 0x0C usage 0x18D. The spellings you will meet are 0x0C/0x18D in a datasheet, the padded 0x000C/0x018D in a table, the flattened 32-bit 0x000C018D that a four-byte Usage item encodes and that hidrd and Windows tools print, and decimal — page 12, usage 397 — which is what a few libraries hand you. Written out the way a bug report usually says it: usage page 0x0c usage 18d. All of those are this one control. Hardware that sends it: Office keyboards with a contacts key, telephony keyboards, some desk-phone side pads.
What to do
A minimal descriptor that declares just this control is 05 0C 09 01 A1 01 15 00 25 01 75 01 95 01 0A 8D 01 81 02 95 07 81 03 C0. Read left to right: 05 0C sets the usage page to Consumer (0x0C), 09 01 names the Consumer Control application collection, A1 01 opens it, 15 00 25 01 says each field is 0 or 1, 75 01 95 01 makes it one bit wide and one field long, then a two-byte Usage item (0x0A), because 0x18D does not fit in one byte names AL Contacts/Address Book, 81 02 declares it as a variable input bit, 95 07 81 03 pads the byte out with seven constant bits, and C0 closes the collection. Paste it into the decoder below and it comes back as exactly that. If you have the hardware, /hid-inspector/ reads the descriptor straight off the device over WebHID and decodes live reports, which is Chromium-only and has to start from a button you press. The decoder on this page is not: it runs offline, in any browser, with no device and no permission prompt, and it highlights AL Contacts/Address Book wherever it appears in whatever you paste.
Traps
Reading the id without the page is the classic mistake — 0x18D on 0x0C is AL Contacts/Address Book, and 0x18D on any other page is an unrelated control. A one-byte Usage item is not interchangeable with a two-byte one: the size lives in the item prefix, and a descriptor that declares 0x018D in one byte when it does not fit silently names a different usage. Multi-byte item data is little-endian, low byte first, which is the other half of the same bug. And the control type is not decoration: this one is Sel, so a host that treats it as some other type will be wrong about whether a held key repeats, latches or does nothing. A descriptor is also free to declare a usage the device never actually sends; the tables say what a number means, not that a device implements it.
What to do next
/hid-inspector/ is the live tool: paste a descriptor or read one off a device over WebHID, walk the collections, and decode incoming reports field by field. The overview for this page is at /hid-inspector/usages/0c/ and the full page index at /hid-inspector/usages/. /usb-device-info/ identifies the device behind a descriptor by vendor and product id, /gamepad-test/ covers pads reported through the Generic Desktop page, and /keyboard-test/ shows what the operating system finally did with a key. Nothing on any of them is uploaded.
Decode a descriptor (no device needed)
Paste report descriptor bytes as hex. This runs entirely in this tab, in any browser, with no device and no permission prompt — and any item that names this usage is highlighted.
1 item(s) name this usage — highlighted below.
| Offset | Bytes | Item |
|---|---|---|
| 0 | 05 0C | Usage Page (Consumer) |
| 2 | 09 01 | Usage (Consumer Control) |
| 4 | A1 01 | Collection (Application) |
| 6 | 15 00 | Logical Minimum (0) |
| 8 | 25 01 | Logical Maximum (1) |
| 10 | 75 01 | Report Size (1) |
| 12 | 95 01 | Report Count (1) |
| 14 | 0A 8D 01 | Usage (AL Contacts/Address Book) |
| 17 | 81 02 | Input (Data, Variable, Absolute) |
| 19 | 95 07 | Report Count (7) |
| 21 | 81 03 | Input (Constant, Variable, Absolute) |
| 23 | C0 | End Collection |
Check your own device
Chrome or Edge only, and the connection has to start from this button. The device's report descriptor is read and searched for this usage; nothing is opened for writing and nothing is uploaded.
Browser Support Matrix
WebHID is currently supported in Chromium-based desktop browsers. Learn more about WebHID support
| Feature | Chrome | Edge | Firefox | Safari |
|---|---|---|---|---|
| navigator.hid device pickerChromium desktop browsers only. | Supported | Supported | Not supported | Not supported |
| Live input reportsReceives live input reports via WebHID. | Supported | Supported | Not supported | Not supported |
| Connecting a device on AndroidWe have not tested this on Android. Firefox ships no WebHID on any platform, and Safari does not exist on Android. | Untested | Untested | Not supported | Not applicable |
| Paste-a-descriptor decodingPure computation — works in all browsers, no device attached. | Supported | Supported | Supported | Supported |
| Opening a keyboard or mouseWindows blocks top-level keyboard and mouse collections from WebHID entirely; macOS and Linux generally allow them. | Partial support | Partial support | Not supported | Not supported |
Detected browser capabilities
- navigator.hid …
- Secure Context (HTTPS) …