Skip to content

Instantly share code, notes, and snippets.

@daryltucker
Created July 24, 2019 02:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daryltucker/a747324dfb5ec674c5aedd064a155c28 to your computer and use it in GitHub Desktop.
Save daryltucker/a747324dfb5ec674c5aedd064a155c28 to your computer and use it in GitHub Desktop.
Pokken Controller USB Descriptors
Usage Page (Desktop), ; Generic desktop controls (01h)
Usage (Gamepad), ; Gamepad (05h, application collection)
Collection (Application),
Logical Minimum (0),
Logical Maximum (1),
Physical Minimum (0),
Physical Maximum (1),
Report Size (1),
Report Count (13),
Usage Page (Button), ; Button (09h)
Usage Minimum (01h),
Usage Maximum (0Dh),
Input (Variable),
Report Count (3),
Input (Constant),
Usage Page (Desktop), ; Generic desktop controls (01h)
Logical Maximum (7),
Physical Maximum (315),
Report Size (4),
Report Count (1),
Unit (Degrees),
Usage (Hat Switch), ; Hat switch (39h, dynamic value)
Input (Variable, Null State),
Unit,
Report Count (1),
Input (Constant),
Logical Maximum (255),
Physical Maximum (255),
Usage (X), ; X (30h, dynamic value)
Usage (Y), ; Y (31h, dynamic value)
Usage (Z), ; Z (32h, dynamic value)
Usage (Rz), ; Rz (35h, dynamic value)
Report Size (8),
Report Count (4),
Input (Variable),
Usage Page (FF00h), ; FF00h, vendor-defined
Usage (20h),
Report Count (1),
Input (Variable),
Usage (2621h),
Report Count (8),
Output (Variable),
End Collection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment