ByteScope

0x07

HID Usage Page 0x07 — Keyboard/Keypad

index only

0x07 is the HID usage page Keyboard/Keypad — page number 7 in decimal, written 0x0007 in a two-byte item.

Everything runs locally in your browser — nothing is uploaded.

Hex
0x07
Dec
7
Name
Keyboard/Keypad
Page, padded
0x0007
Usage names
219
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 scancode page: Keyboard A through Keyboard Z, the digit row, F1–F24, the modifier keys, the keypad, and the international and language keys. A boot-protocol keyboard report is eight bytes of this page and nothing else, which is why it works before any driver has loaded. Keyboard/Keypad is the name the HID Usage Tables give page 0x07, and it is a proper noun that is not translated anywhere on this site. This site carries 219 usage names for 0x07, 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 219 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.

219 usage names shown

UsageName
0x00Reserved (no event indicated)
0x01ErrorRollOver
0x02POSTFail
0x03ErrorUndefined
0x04Keyboard a and A
0x05Keyboard b and B
0x06Keyboard c and C
0x07Keyboard d and D
0x08Keyboard e and E
0x09Keyboard f and F
0x0AKeyboard g and G
0x0BKeyboard h and H
0x0CKeyboard i and I
0x0DKeyboard j and J
0x0EKeyboard k and K
0x0FKeyboard l and L
0x10Keyboard m and M
0x11Keyboard n and N
0x12Keyboard o and O
0x13Keyboard p and P
0x14Keyboard q and Q
0x15Keyboard r and R
0x16Keyboard s and S
0x17Keyboard t and T
0x18Keyboard u and U
0x19Keyboard v and V
0x1AKeyboard w and W
0x1BKeyboard x and X
0x1CKeyboard y and Y
0x1DKeyboard z and Z
0x1EKeyboard 1 and !
0x1FKeyboard 2 and @
0x20Keyboard 3 and #
0x21Keyboard 4 and $
0x22Keyboard 5 and %
0x23Keyboard 6 and ^
0x24Keyboard 7 and &
0x25Keyboard 8 and *
0x26Keyboard 9 and (
0x27Keyboard 0 and )
0x28Keyboard Return (ENTER)
0x29Keyboard ESCAPE
0x2AKeyboard DELETE (Backspace)
0x2BKeyboard Tab
0x2CKeyboard Spacebar
0x2DKeyboard - and (underscore)
0x2EKeyboard = and +
0x2FKeyboard [ and {
0x30Keyboard ] and }
0x31Keyboard \ and |
0x32Keyboard Non-US # and ~
0x33Keyboard ; and :
0x34Keyboard ' and "
0x35Keyboard Grave Accent and Tilde
0x36Keyboard , and <
0x37Keyboard . and >
0x38Keyboard / and ?
0x39Keyboard Caps Lock
0x3AKeyboard F1
0x3BKeyboard F2
0x3CKeyboard F3
0x3DKeyboard F4
0x3EKeyboard F5
0x3FKeyboard F6
0x40Keyboard F7
0x41Keyboard F8
0x42Keyboard F9
0x43Keyboard F10
0x44Keyboard F11
0x45Keyboard F12
0x46Keyboard PrintScreen
0x47Keyboard Scroll Lock
0x48Keyboard Pause
0x49Keyboard Insert
0x4AKeyboard Home
0x4BKeyboard PageUp
0x4CKeyboard Delete Forward
0x4DKeyboard End
0x4EKeyboard PageDown
0x4FKeyboard RightArrow
0x50Keyboard LeftArrow
0x51Keyboard DownArrow
0x52Keyboard UpArrow
0x53Keypad Num Lock and Clear
0x54Keypad /
0x55Keypad *
0x56Keypad -
0x57Keypad +
0x58Keypad ENTER
0x59Keypad 1 and End
0x5AKeypad 2 and Down Arrow
0x5BKeypad 3 and PageDn
0x5CKeypad 4 and Left Arrow
0x5DKeypad 5
0x5EKeypad 6 and Right Arrow
0x5FKeypad 7 and Home
0x60Keypad 8 and Up Arrow
0x61Keypad 9 and PageUp
0x62Keypad 0 and Insert
0x63Keypad . and Delete
0x64Keyboard Non-US \ and |
0x65Keyboard Application
0x66Keyboard Power
0x67Keypad =
0x68Keyboard F13
0x69Keyboard F14
0x6AKeyboard F15
0x6BKeyboard F16
0x6CKeyboard F17
0x6DKeyboard F18
0x6EKeyboard F19
0x6FKeyboard F20
0x70Keyboard F21
0x71Keyboard F22
0x72Keyboard F23
0x73Keyboard F24
0x74Keyboard Execute
0x75Keyboard Help
0x76Keyboard Menu
0x77Keyboard Select
0x78Keyboard Stop
0x79Keyboard Again
0x7AKeyboard Undo
0x7BKeyboard Cut
0x7CKeyboard Copy
0x7DKeyboard Paste
0x7EKeyboard Find
0x7FKeyboard Mute
0x80Keyboard Volume Up
0x81Keyboard Volume Down
0x82Keyboard Locking Caps Lock
0x83Keyboard Locking Num Lock
0x84Keyboard Locking Scroll Lock
0x85Keypad Comma
0x86Keypad Equal Sign
0x87Keyboard International1
0x88Keyboard International2
0x89Keyboard International3
0x8AKeyboard International4
0x8BKeyboard International5
0x8CKeyboard International6
0x8DKeyboard International7
0x8EKeyboard International8
0x8FKeyboard International9
0x90Keyboard LANG1
0x91Keyboard LANG2
0x92Keyboard LANG3
0x93Keyboard LANG4
0x94Keyboard LANG5
0x95Keyboard LANG6
0x96Keyboard LANG7
0x97Keyboard LANG8
0x98Keyboard LANG9
0x99Keyboard Alternate Erase
0x9AKeyboard SysReq/Attention
0x9BKeyboard Cancel
0x9CKeyboard Clear
0x9DKeyboard Prior
0x9EKeyboard Return
0x9FKeyboard Separator
0xA0Keyboard Out
0xA1Keyboard Oper
0xA2Keyboard Clear/Again
0xA3Keyboard CrSel/Props
0xA4Keyboard ExSel
0xB0Keypad 00
0xB1Keypad 000
0xB2Thousands Separator
0xB3Decimal Separator
0xB4Currency Unit
0xB5Currency Sub-unit
0xB6Keypad (
0xB7Keypad )
0xB8Keypad {
0xB9Keypad }
0xBAKeypad Tab
0xBBKeypad Backspace
0xBCKeypad A
0xBDKeypad B
0xBEKeypad C
0xBFKeypad D
0xC0Keypad E
0xC1Keypad F
0xC2Keypad XOR
0xC3Keypad ^
0xC4Keypad %
0xC5Keypad <
0xC6Keypad >
0xC7Keypad &
0xC8Keypad &&
0xC9Keypad |
0xCAKeypad ||
0xCBKeypad :
0xCCKeypad #
0xCDKeypad Space
0xCEKeypad @
0xCFKeypad !
0xD0Keypad Memory Store
0xD1Keypad Memory Recall
0xD2Keypad Memory Clear
0xD3Keypad Memory Add
0xD4Keypad Memory Subtract
0xD5Keypad Memory Multiply
0xD6Keypad Memory Divide
0xD7Keypad +/-
0xD8Keypad Clear
0xD9Keypad Clear Entry
0xDAKeypad Binary
0xDBKeypad Octal
0xDCKeypad Decimal
0xDDKeypad Hexadecimal
0xE0Keyboard LeftControl
0xE1Keyboard LeftShift
0xE2Keyboard LeftAlt
0xE3Keyboard Left GUI
0xE4Keyboard RightControl
0xE5Keyboard RightShift
0xE6Keyboard RightAlt
0xE7Keyboard Right GUI

Where you see it

A descriptor selects this page with a Usage Page global item, so you meet 0x07 as the bytes 05 07 in a one-byte item, or as 06 07 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 0x07, the four-digit 0x0007, decimal 7, and the bare 07 this site uses in URLs. All four are the same page. Hardware that declares it: Every USB and Bluetooth keyboard, laptop internal keyboards, barcode scanners in keyboard-wedge mode.

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 0x07 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 0x07 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 (0x0007NNNN) 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