Skip to content

Instantly share code, notes, and snippets.

@houmei
Created October 8, 2012 18:31
Show Gist options
  • Save houmei/3854088 to your computer and use it in GitHub Desktop.
Save houmei/3854088 to your computer and use it in GitHub Desktop.
USB JP-Keyboard / Arduino Leonardo HID Report Descriptor
japanese USB Keyboard:
Interface 0 HID Report Descriptor Keyboard
Usage Page (Generig Desktop) 0501
Usage (Keyboard) 0906
Collection (Application) A101
Usage Page (Keyboard/Keypad) 0507
Usage Minimum (Keyboard Left Control) 19E0
Usage Maximum (Keyboard Right GUI) 29E7
Logical Minimum (0) 1500
Logical Maximum (1) 2501
Report Size (1) 7501
Report Count (8) 9508
Input (Data,Var,Abs,MWrp,Lin,Pref,NNul,Bit) 8102
Report Count (1) 9501
Report Size (8) 7508
Usage Page (LEDs) 0508
Usage Minimum (NumLock) 1901
Usage Maximum (ScrollLock) 2903
Output (Data,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) 9102
Report Count (5) 9505
Report Size (1) 7501
Output (Cnst,Ary,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) 9101
Report Count (6) 9506
Report Size (8) 7508
Logical Minimum (0) 1500
Logical Maxmum (255) 26FF00
Usage Page (Keyboard/Keypad) 0507
Usage Minimum (Undefined) 1900
Usage Maxmum 2AFF00
Input (Data,Ary,Abs) 8100
End Collection C0
...
Input Report
Keyboard International 3 0000890000000000
---------------------------------------------------
Arduino Leonardo:
Interface 2 HID Report Descriptor Mouse
Usage Page (Generic Desktop) 0501
Usage (Mouse) 0902
Collection (Application) A101
...(省略)
End Collection C0
Usage Page (Generic Desktop) 0501
Usage (Keyboard) 0906
Collection (Application) A101
Report ID (2) 8502
Usage Page (Keyboard/Keypad) 0507
Usage Minimum (Keyboard Left Control) 19E0
Usage Maximum (Keyboard Right GUI) 29E7
Logical Minimum (0) 1500
Logical Maximum (1) 2501
Report Size (1) 7501
Report Count (8) 9508
Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 8102 ****
Report Count (1) 9501
Report Size (8) 7508
Input (Cnst,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 8103 ****
Report Count (6) 9506
Report Size (8) 7508
Logical Minimum (0) 1500
Logical Maximum (101) 2565 ****
Usage Page (Keyboard/Keypad) 0507
Usage Minimum (Undefined) 1900
Usage Maximum (Keyboard Application) 2965 ****
Input (Data,Ar,Abs) 8100
End Collection C0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment