ByteScope

0x05

HID Usage Page 0x05 — Game Controls

index only

0x05 is the HID usage page Game Controls — page number 5 in decimal, written 0x0005 in a two-byte item.

Everything runs locally in your browser — nothing is uploaded.

Hex
0x05
Dec
5
Name
Game Controls
Page, padded
0x0005
Usage names
29
Pages here
0
Source
The page name comes from the HID Usage Tables as shipped in @tools/core-hid. Usage counts on this page are read from that package at build time rather than typed in, so they cannot drift away from what the decoder actually knows.

What this is

The controls a game wants that a desktop does not: Point of View hat switches, Turn Right/Left, Pitch, Roll, Move Forward/Right/Up, plus the Gun Device group with Gun Selector, Gun Bolt and Gun Clip. Generic Desktop already owns the stick axes; this page owns what the stick means in a game. Game Controls is the name the HID Usage Tables give page 0x05, and it is a proper noun that is not translated anywhere on this site. This site carries 29 usage names for 0x05, and this batch did **not** lay them out as pages. That is a publishing decision, not a gap in the data: spec 1211 §0.3 says a batch is tens of pages rather than thousands, and putting the four large pages out at once would have roughly doubled the site overnight. The names are on the index at /hid-inspector/usages/ and in the decoder on /hid-inspector/, and the next batch is decided by what the first one actually gets cited for.

Usages on this page

All 29 usage names this site carries for this page. The linked rows have a page of their own.

Type a usage id (cd), a 0x form (0xCD), or part of a name. Case does not matter.

29 usage names shown

UsageName
0x00Undefined
0x013D Game Controller
0x02Pinball Device
0x03Gun Device
0x20Point of View
0x21Turn Right/Left
0x22Pitch Forward/Backward
0x23Roll Right/Left
0x24Move Right/Left
0x25Move Forward/Backward
0x26Move Up/Down
0x27Lean Right/Left
0x28Lean Forward/Backward
0x29Height of POV
0x2AFlipper
0x2BSecondary Flipper
0x2CBump
0x2DNew Game
0x2EShoot Ball
0x2FPlayer
0x30Gun Bolt
0x31Gun Clip
0x32Gun Selector
0x33Gun Single Shot
0x34Gun Burst
0x35Gun Automatic
0x36Gun Safety
0x37Gamepad Fire/Jump
0x39Gamepad Trigger

Where you see it

A descriptor selects this page with a Usage Page global item, so you meet 0x05 as the bytes 05 05 in a one-byte item, or as 06 05 00 in the two-byte form that a page number above 0xFF needs — little-endian, low byte first, an easy place for a hand-written descriptor to go wrong. The spellings you will meet in documentation are 0x05, the four-digit 0x0005, decimal 5, and the bare 05 this site uses in URLs. All four are the same page. Hardware that declares it: Arcade light guns, flight-stick hat switches, older 3D game controllers and PC gun peripherals.

What to do

Open /hid-inspector/, paste a report descriptor and the decoder resolves every Usage Page item against this table, so a page you did not recognise gets a name rather than a number. That part is offline: it needs no device, no permission prompt and no Chromium, so it works in Firefox and Safari too. If you do have the hardware, /hid-inspector/ can also read the descriptor straight off the device over WebHID, which is Chromium-only and starts from a button you press. A usage on 0x05 that this site cannot name is printed as its number, never as a guess.

Traps

Page numbers and usage ids live in different namespaces: usage 0x30 on 0x05 has nothing to do with usage 0x30 on any other page, and reading a usage id without the page it belongs to is a common cause of "why is my axis reported as a button" questions. A Usage Page item stays in force until the next one — it is a global item, so it survives a Collection, and a descriptor that sets it once at the top means every usage after it belongs to that page. A four-byte Usage item carries the page inside it (0x0005NNNN) and overrides whatever page was in force, which is exactly the case a hand-rolled parser forgets. Everything from 0xFF00 up is vendor-defined and shares one name, so the number is the only thing that identifies which vendor block a descriptor means.

What to do next

/hid-inspector/ is the live tool: paste a descriptor or read one off a device, walk the collections, and decode incoming reports field by field. The full page index at /hid-inspector/usages/ lists all 39 pages this site names with their usage counts, including the ones this batch did not lay out. /usb-device-info/ identifies the device behind the descriptor by vendor and product id, /gamepad-test/ covers the pads that ride on the Generic Desktop page, and /ble-explorer/ handles HID's sibling over Bluetooth. None of them uploads anything, and neither does this page.

Frequently asked questions

Does a device have to implement everything on its usage page?

No. A page is a namespace of allocated numbers, not a contract. A device declares whichever usages it actually has, and it is free to declare one it never sends. What a descriptor lists is what the device claims; what arrives in a report is what it does.

Why is the same usage id on two pages a completely different control?

Because the id is only unique inside its page. Usage 0x30 is X on Generic Desktop and Power on Consumer. A parser that tracks Usage Page items sloppily — forgetting that they are global and survive a Collection — will read one as the other, which is the cause of most "my axis is reported as a button" reports.

What is a vendor-defined page?

Anything from 0xFF00 to 0xFFFF. The tables allocate the range and say nothing about what is in it, so every one of those pages shares the single name Vendor-defined and the number is the only identifying information. This site prints the number rather than the shared name for exactly that reason.

Looking for a different usage? browse the page index.

USB-IF — HID Usage Tables