0x0C/0x00B6
HID Usage 0x0C/0x00B6 — Scan Previous Track
0x0C/0x00B6 is the HID usage Scan Previous Track on the Consumer page — usage 182 in decimal, 0x000C00B6 as a 32-bit extended usage.
Everything runs locally in your browser — nothing is uploaded.
- Hex
- 0xB6
- Dec
- 182
- Name
- Scan Previous Track
- Usage page
- 0x0C · Consumer
- Page, padded
- 0x000C
- Usage id
- 0xB6 · 0x00B6
- 32-bit usage
- 0x000C00B6
- Usage Type
- OSC
- 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
Skip to the previous track boundary — which on most players means the start of the current track on the first press and the previous track on a quick second press. That double behaviour is the player's, not the descriptor's. Scan Previous Track is the name the HID Usage Tables give usage 0xB6 on the Consumer page, and it is a proper noun that is not translated anywhere on this site. Usage Type: OSC. One Shot Control — exactly one event per activation, with no state to read back. Holding the key does not report anything extra unless the device chooses to repeat the report itself. 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 09 B6 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 0xB6. The spellings you will meet are 0x0C/0xB6 in a datasheet, the padded 0x000C/0x00B6 in a table, the flattened 32-bit 0x000C00B6 that a four-byte Usage item encodes and that hidrd and Windows tools print, and decimal — page 12, usage 182 — which is what a few libraries hand you. Written out the way a bug report usually says it: usage page 0x0c usage b6. All of those are this one control. Hardware that sends it: The same media keyboards and earbud remotes, DJ controllers, car head units.
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 09 B6 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 one-byte Usage item (0x09), because 0xB6 fits in one byte names Scan Previous Track, 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 Scan Previous Track wherever it appears in whatever you paste.
Traps
Reading the id without the page is the classic mistake — 0xB6 on 0x0C is Scan Previous Track, and 0xB6 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 0x00B6 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 OSC, 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 | 09 B6 | Usage (Scan Previous Track) |
| 16 | 81 02 | Input (Data, Variable, Absolute) |
| 18 | 95 07 | Report Count (7) |
| 20 | 81 03 | Input (Constant, Variable, Absolute) |
| 22 | 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) …