http://www.psdevwiki.com/ps4/api.php?action=feedcontributions&user=101.175.173.200&feedformat=atom PS4 Developer wiki - User contributions [en] 2024-03-29T11:48:17Z User contributions MediaWiki 1.39.6 http://www.psdevwiki.com/ps4/index.php?title=DS4-USB&diff=275419 DS4-USB 2016-03-01T10:37:52Z <p>101.175.173.200: A minor anomaly I noticed</p> <hr /> <div>'''Source:''' http://eleccelerator.com/wiki/index.php?title=DualShock_4 (full paste 17:50 UTC, 18 January 2014 )<br /> <br /> '''Source:''' https://gist.github.com/johndrinkwater/7708901<br /> <br /> [[File:DUALSHOCK4 03.jpg|thumbnail|right]]<br /> <br /> == USB ==<br /> [[SKU_Models_Nonretail|Nonretail]] consoles can use the [[%E2%98%85_Debug_Settings#Controller_Setting|★ Debug Settings : Controller Setting]] to use [[USB|USB]] instead of wireless.<br /> <br /> Audio does not carry through {{G|USB}} in the case of a [[DualShock 4|Dual Shock 4]].<br /> <br /> The reports arrive ~250 times per second (every ~4ms).<br /> <br /> === Device Descriptor ===<br /> <br /> {| class=&quot;wikitable&quot;<br /> |-<br /> ! colspan=&quot;5&quot; style=&quot;background-color:#C0C0C0; color:#000000;&quot; |[http://linuxcommand.org/man_pages/lsusb8.html Device Descriptor]<br /> |-<br /> ! Offset <br /> ! Field <br /> ! Size <br /> ! Value<br /> ! Description<br /> |-<br /> | 0 || bLength || 1 || 0x12 || Size of this descriptor in bytes (18)<br /> |-<br /> | 1 || bDescriptorType || 1 || 0x01 || DEVICE descriptor type (Constant = 1)<br /> |-<br /> | 2 || bcdUSB || 2 || 0x0200 || USB Spec release number ([http://en.wikipedia.org/wiki/USB#USB_2.0 2.00]):<br /> &lt;small&gt;with which the device and is descriptors are compliant (e.g.: 0x0200 (USB2.0), 0x0300, <br /> ([[USB_3.0|USB3.0]]))&lt;/small&gt;<br /> |-<br /> | 4 || bDeviceClass || 1 || 0x00 || [http://www.usb.org/developers/defined_class Class code] assigned by [http://en.wikipedia.org/wiki/USB_Implementers_Forum USB-IF:]<br /> &lt;small&gt;(used by the operating system to find a class driver for your device)&lt;/small&gt;<br /> &lt;small&gt;<br /> *00h means each interface defines its own class (identify itself at the interface level: bInterfaceClass)<br /> *FFh means vendor-defined class<br /> *Any other value must be a class code<br /> &lt;/small&gt;<br /> |-<br /> | 5 || bDeviceSubClass || 1 || 0x00 || SubClass Code assigned by USB-IF<br /> &lt;small&gt;(used by the operating system to find a class driver for your device)&lt;/small&gt;<br /> |-<br /> | 6 || bDeviceProtocol || 1 || 0x00 || Protocol Code assigned by USB-IF<br /> &lt;small&gt;(used by the operating system to find a class driver for your device)&lt;/small&gt;<br /> |-<br /> | 7 || bMaxPacketSize0 || 1 || 0x40 || Max packet size for endpoint 0. (64)<br /> &lt;small&gt;<br /> *Must be 8, 16, 32 or 64<br /> *Must be 9 according to [http://www.usb.org/developers/tools/USB30CVSpec_1_4.pdf Compliance Test Specification for the USB 3.0 Architecture p29 9.1]<br /> &lt;/small&gt;<br /> |-<br /> | 8 || idVendor || 2 || 0x054C || [http://www.linux-usb.org/usb.ids Vendor ID (VID)] (Sony Corp.) <br /> &lt;small&gt;<br /> must be obtained from USB-IF<br /> <br /> (used by the operating system to find a driver for your device)&lt;/small&gt;<br /> |-<br /> | 10 || idProduct || 2 || 0x05C4 || Product ID (PID) - (Sony Computer Entertainment Wireless Controller) <br /> &lt;small&gt;<br /> assigned by the manufacturer<br /> <br /> (used by the operating system to find a driver for your device)&lt;/small&gt;<br /> |-<br /> | 12 || bcdDevice || 2 || 0x0100 || Device release number (Version: 1.00)<br /> &lt;small&gt;in binary coded decimal&lt;/small&gt;<br /> |-<br /> | 14 || iManufacturer || 1 || 0x01 || Index of string descriptor describing manufacturer<br /> &lt;small&gt;set to 0 if no string&lt;/small&gt;<br /> |-<br /> | 15 || iProduct || 1 || 0x02 || Index of string descriptor describing product <br /> &lt;small&gt;set to 0 if no string&lt;/small&gt;<br /> |-<br /> | 16 || iSerialNumber || 1 || 0x00 || Index of string descriptor describing device serial number&lt;BR /&gt; &lt;small&gt;set to 0 if no string&lt;/small&gt;<br /> |-<br /> | 17 || bNumConfigurations || 1 || 0x01 || Number of possible configurations<br /> |-<br /> |}<br /> <br /> === Configuration Descriptor ===<br /> <br /> {| class=&quot;wikitable&quot;<br /> |-<br /> ! colspan=&quot;5&quot; style=&quot;background-color:#C0C0C0; color:#000000;&quot; |Configuration Descriptor<br /> |-<br /> ! Offset <br /> ! Field <br /> ! Size <br /> ! Value<br /> ! Description<br /> |-<br /> | 0 || bLength || 1 || 0x09 || Size<br /> |-<br /> | 1 || bDescriptorType || 1 || 0x02 || (= 2)<br /> |-<br /> | 2 || wTotalLength || 2 || 0x0029 || Total number of bytes (41) in this descriptor and all the following descriptors (9+9+9+7+7)<br /> |-<br /> | 4 || bNumInterfaces || 1 || 0x01 || Number of interfaces supported by this configuration<br /> |-<br /> | 5 || bConfigurationValue || 1 || 0x01 || Value used by Set Configuration to select this configuration<br /> |-<br /> | 6 || iConfiguration || 1 || 0x00 || Index of string descriptor describing configuration - set to 0 if no string<br /> |-<br /> | 7 || bmAttributes || 1 || 0xC0 || Self Powered &amp; powered by the bus (11000000) (PS3 controller: 0x80)<br /> &lt;small&gt;<br /> specify power parameters for the configuration :<br /> &lt;small&gt;<br /> {| cellpadding=&quot;4&quot; style=&quot;border-collapse: collapse; text-align: center;&quot;<br /> |-<br /> | colspan=&quot;6&quot; |&lt;code&gt;&lt;sub&gt;msb&lt;/sub&gt;''&lt;sup&gt;8-Digit bit binary&lt;/sup&gt;''&lt;sub&gt;lsb&lt;/sub&gt;&lt;/code&gt;<br /> |-<br /> |style=&quot;border: 1px solid; border-left: hidden;&quot; | …<br /> |style=&quot;border: 1px solid;&quot; | 7|6|5|4|3|2|1|0<br /> |style=&quot;border: 1px solid; border-right: hidden;&quot; | …<br /> |}<br /> &lt;/small&gt;<br /> *D0 - D4: Reserved.<br /> *D5: The configuration supports remote wakeup.<br /> *D6: The configuration is self-powered and does not use power from the bus.<br /> *D7: The configuration is powered by the bus.<br /> &lt;/small&gt;<br /> |-<br /> | 8 || bMaxPower || 1 || 0xFA || Maximum current: 500mA drawn by device in this configuration.&lt;BR /&gt;&lt;small&gt;In units of 2mA. So 0x32 (50) means 100 mA&lt;/small&gt;<br /> |-<br /> ! colspan=&quot;5&quot; style=&quot;background-color:#C0C0C0; color:#000000;&quot; |Interface Descriptor<br /> |-<br /> | 0 || bLength || 1 || 0x09 || Size<br /> |-<br /> | 1 || bDescriptorType || 1 || 0x04 || (= 4)<br /> |-<br /> | 2 || bInterfaceNumber || 1 || 0x00 || Number identifying this interface. <br /> &lt;small&gt;Zero-based value&lt;/small&gt;<br /> |-<br /> | 3 || bAlternateSetting || 1 || 0x00 || The first (and default) value used to select alternative setting is always 0<br /> &lt;small&gt;<br /> (An interface can have more than one variant, and these variants can be switched between, while other interfaces are still in operation)<br /> &lt;/small&gt;<br /> |-<br /> | 4 || bNumEndpoints || 1 || 0x02 || Number of Endpoints used for this interface<br /> |-<br /> | 5 || bInterfaceClass || 1 || 0x03 || Class code assigned by USB-IF]<br /> &lt;small&gt;<br /> *00h is a reserved value<br /> *FFh means vendor-defined class<br /> *Any other value must be a class code<br /> &lt;/small&gt;<br /> |-<br /> | 6 || bInterfaceSubClass || 1 || 0x00 || SubClass Code assigned by USB-IF<br /> |-<br /> | 7 || bInterfaceProtocol || 1 || 0x00 || Protocol Code assigned by USB-IF<br /> |-<br /> | 8 || iInterface || 1 || 0x00 || Index of string descriptor describing interface - set to 0 if no string<br /> |-<br /> ! colspan=&quot;5&quot; style=&quot;background-color:#C0C0C0; color:#000000;&quot; |Human Interface Device (HID) Descriptor<br /> |-<br /> | 0 || bLength || 1 || 0x09 || Size<br /> |-<br /> | 1 || bDescriptorType || 1 || 0x21 || Constant name specifying type of HID descriptor<br /> |-<br /> | 2 || bcdHID 1.17 || 2 || 0x0111 || [http://en.wikipedia.org/wiki/USB_human_interface_device_class HID class spec version] (1.11)<br /> |-<br /> | 4 || bCountryCode || 1 || 0x00 || Not supported ([http://www.usb.org/developers/devclass_docs/HID1_11.pdf Device Class Definition for HID 1.11 6.2.1 p33])<br /> |-<br /> | 5 || bNumDescriptors || 1 || 0x01 || Number of Descriptors <br /> |-<br /> | 6 || bDescriptorType || 1 || 0x22 || DescriptorType (34): REPORT<br /> |-<br /> | 7 || DescriptorLength || 2 || 0x01D3 || total size of the Report descriptor (467)<br /> |-<br /> ! colspan=&quot;5&quot; style=&quot;background-color:#C0C0C0; color:#000000;&quot; |Endpoint (IN) Descriptor<br /> |-<br /> | 0 || bLength || 1 || 0x07 || Size<br /> |-<br /> | 1 || bDescriptorType || 1 || 0x05 || (= 5)<br /> |-<br /> | 2 || bEndpointAddress || 1 || 0x84 || IN&lt;--(1 000 0100)--&gt;4 (PS3 Controller: 0x81)<br /> &lt;small&gt;<br /> The address of this endpoint within the device:<br /> *D3-D0: Endpoint number<br /> *D6-D4: Reserved. set to Zero<br /> *D7: Direction: 0 = OUT, 1 = IN (Ignored for Control Endpoints)<br /> &lt;/small&gt;<br /> |-<br /> | 3 || bmAttributes || 1 || 0x03 || Interrupt (00000011)<br /> &lt;small&gt;<br /> (D1:0) [http://www.inno-logic.com/resources/21.php#4 Transfer Type:]<br /> *00 = Control<br /> *01 = Isochronous<br /> *10 = Bulk<br /> *11 = Interrupt<br /> <br /> The following only apply to isochronous endpoints. Else set to 0.<br /> <br /> (D3:2) Synchronisation Type (ISO mode):<br /> *00 = No Synchronisation<br /> *01 = Asynchronous<br /> *10 = Adaptive<br /> *11 = Synchronous<br /> <br /> (D5:4) Usage Type (ISO mode):<br /> *00 = Data endpoint<br /> *01 = Feedback endpoint<br /> *10 = Implicit feedback Data endpoint<br /> *11 = Reserved<br /> <br /> (D7:6) Reserved<br /> Set to 0 <br /> &lt;/small&gt;<br /> |-<br /> | 4 || wMaxPacketSize || 2 || 0x0040 || (64)<br /> |-<br /> | 6 || bInterval || 1|| 0x05 || 5 (unit depends on device speed) (PS3 Controller: 1)<br /> &lt;small&gt;<br /> Interval for polling endpoint for data transfers. Expressed in frames (ms) for low/full speed or microframes (125{{micro}}s) for high speed&lt;BR /&gt;<br /> (ignored for Bulk &amp; Control Endpoints. Isochronous must equal 1 and field may range from 1 to 255 for interrupt endpoints)<br /> &lt;/small&gt;<br /> |-<br /> ! colspan=&quot;5&quot; style=&quot;background-color:#C0C0C0; color:#000000;&quot; |Endpoint (OUT) Descriptor<br /> |-<br /> | 0 || bLength || 1 || 0x07 || Size<br /> |-<br /> | 1 || bDescriptorType || 1 || 0x05 || (= 5)<br /> |-<br /> | 2 || bEndpointAddress || 1 || 0x03 || OUT&lt;--(0 000 0011)--&gt;3 (PS3 Controller: 0x02)<br /> |-<br /> | 3 || bmAttributes || 1 || 0x03 || Interrupt<br /> |-<br /> | 4 || wMaxPacketSize || 2 || 0x0040 || (64)<br /> |-<br /> | 6 || bInterval || 1 || 0x05 || 5<br /> |-<br /> |}<br /> <br /> === HID Report Descriptor ===<br /> [http://www.usb.org/developers/devclass_docs/Hut1_12v2.pdf HID Usage Tables 1.12 (p.26)]<br /> <br /> {| class=&quot;wikitable sortable&quot;<br /> |-<br /> ! colspan=&quot;3&quot;|Value !! Items !! Remarks<br /> |-<br /> |0x05||0x01|| - ||Usage Page (Generic Desktop Controls)|| <br /> |-<br /> |0x09||0x05|| - ||Usage (Game Pad)|| CA – &lt;small&gt;A manual control or cursor device. A game pad minimally consists of a thumb-activated rocker switch that controls two axes (X and Y) and has four buttons. The rocker switch consists of four contact closures for up, down, right, and left.&lt;/small&gt;<br /> |-<br /> |0xA1||0x01|| - ||Collection (Application)|| Start<br /> |-<br /> |0x85||0x01|| - ||Report ID (1)|| &lt;small&gt;Used by the FW to determine what data has been send or need to be transmitted&lt;/small&gt;<br /> |-<br /> |0x09||0x30|| - ||Usage (X)|| DV – &lt;small&gt;A linear translation in the X direction. Report values should increase as the control’s position is moved from left to right. (for sticks)&lt;/small&gt;<br /> |-<br /> |0x09||0x31|| - ||Usage (Y)|| DV – &lt;small&gt;(Y direction- values should increase from far to near)&lt;/small&gt;<br /> |-<br /> |0x09||0x32|| - ||Usage (Z)|| DV – &lt;small&gt;(Z direction- values should increase from high to low)&lt;/small&gt;<br /> |-<br /> |0x09||0x35|| - ||Usage (Rz)|| DV – &lt;small&gt;A rotation about the Z axis. Angular position report values follow the righthand rule.&lt;/small&gt;<br /> |-<br /> |0x15||0x00|| - ||Logical Minimum (0)|| Value for sticks<br /> |-<br /> |0x26||0xFF|| 0x00 ||Logical Maximum (255)|| Value<br /> |-<br /> |0x75||0x08|| - ||Report Size (8)|| 8 bits per variable<br /> |-<br /> |0x95||0x04|| - ||Report Count (4)|| 4 variables<br /> |-<br /> |0x81||0x02|| - ||Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)|| send variables (bytes 01 to 04)<br /> |-<br /> |0x09||0x39|| - ||Usage (Hat switch)|| DV – &lt;small&gt;A specialized mechanical configuration of switches generating a variable value with a null state. The switches are arranged around a springloaded knob. When the knob is tilted in the direction of a switch, its contacts are closed. A typical example is four switches that are capable of generating information about four possible directions in which the knob can be tilted. Intermediate positions can also be decoded if the hardware allows two switches to be reported simultaneously. (for D-pad)&lt;/small&gt;<br /> |-<br /> |0x15||0x00|| - ||Logical Minimum (0)|| Value (0=N)<br /> |-<br /> |0x25||0x07|| - ||Logical Maximum (7)|| Value (7=NW)<br /> |-<br /> |0x35||0x00|| - ||Physical Minimum (0)||<br /> |-<br /> |0x46||0x3B||0x01||Physical Maximum (315)||<br /> |-<br /> |0x65||0x14|| - ||Unit (System: English Rotation, Length: Centimeter)||<br /> |-<br /> |0x75||0x04|| - ||Report Size (4)|| (4 bits)<br /> |-<br /> |0x95||0x01|| - ||Report Count (1)|| 1 variable (D-pad)<br /> |-<br /> |0x81||0x42|| - ||Input (Data,Var,Abs,No Wrap,Linear,Preferred State,Null State)|| send (byte 05 low nibble -lsb)<br /> |-<br /> |0x65||0x00|| - ||Unit (None)||<br /> |-<br /> |0x05||0x09|| - ||Usage Page (Button) || face buttons<br /> |-<br /> |0x19||0x01|| - ||Usage Minimum (0x01)|| first button<br /> |-<br /> |0x29||0x0E|| - ||Usage Maximum (0x0E)|| last button (14)<br /> |-<br /> |0x15||0x00|| - ||Logical Minimum (0)|| Value for each button (status: 0 or 1)<br /> |-<br /> |0x25||0x01|| - ||Logical Maximum (1)|| <br /> |-<br /> |0x75||0x01|| - ||Report Size (1)|| 1 bit per button<br /> |-<br /> |0x95||0x0E|| - ||Report Count (14)|| 14 bits<br /> |-<br /> |0x81||0x02|| - ||Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)|| send (byte 05 high nibble msb, 8 bits of byte 06 and binary bit 0 &amp; 1 of byte 07)<br /> |-<br /> |0x06||0x00||0xFF||Usage Page (Vendor Defined 0xFF00)||<br /> |-<br /> |0x09||0x20|| - ||Usage (0x20)|| Counter<br /> |-<br /> |0x75||0x06|| - ||Report Size (6)|| 6 bits<br /> |-<br /> |0x95||0x01|| - ||Report Count (1)||<br /> |-<br /> |0x15||0x00|| - ||Logical Minimum (0)||<br /> |-<br /> |0x25||0x7F|| - ||Logical Maximum (127)||Note: REPORT_SIZE (6) is too small for LOGICAL_MAXIMUM (127) which needs 7 bits<br /> |-<br /> |0x81||0x02|| - ||Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)|| send (byte 07: msb 6 bits)<br /> |-<br /> |0x05||0x01|| - ||Usage Page (Generic Desktop Controls)|| Shoulderpads Trigger<br /> |-<br /> |0x09||0x33|| - ||Usage (Rx)|| DV – &lt;small&gt;A rotation about the X axis. Angular position report values follow the right hand rule (L2 trigger)&lt;/small&gt;<br /> |-<br /> |0x09||0x34|| - ||Usage (Ry)|| DV – &lt;small&gt;A rotation about the Z axis. Angular position report values follow the right hand rule (R2 trigger)&lt;/small&gt;<br /> |-<br /> |0x15||0x00|| - ||Logical Minimum (0)||<br /> |-<br /> |0x26||0xFF||0x00||Logical Maximum (255)||<br /> |-<br /> |0x75||0x08|| - ||Report Size (8)|| 8 bits<br /> |-<br /> |0x95||0x02|| - ||Report Count (2)|| 2 bytes<br /> |-<br /> |0x81||0x02|| - ||Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)|| send bytes 08 &amp; 09<br /> |-<br /> |0x06||0x00||0xFF||Usage Page (Vendor Defined 0xFF00)||<br /> |-<br /> |0x09||0x21|| - ||Usage (0x21)||<br /> |-<br /> |0x95||0x36|| - ||Report Count (54)||<br /> |-<br /> |0x81||0x02|| - ||Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)||<br /> |-<br /> |0x85||0x05|| - ||Report ID (5)||<br /> |-<br /> |0x09||0x22|| - ||Usage (0x22)||<br /> |-<br /> |0x95||0x1F|| - ||Report Count (31)||<br /> |-<br /> |0x91||0x02|| - ||Output (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x04|| - ||Report ID (4)||<br /> |-<br /> |0x09||0x23|| - ||Usage (0x23)||<br /> |-<br /> |0x95||0x24|| - ||Report Count (36)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)|| DV – &lt;small&gt;declared in an Input report and is used as a notification to the host that the contents of a specific Feature report has changed&lt;/small&gt;<br /> |-<br /> |0x85||0x02|| - ||Report ID (2)||<br /> |-<br /> |0x09||0x24|| - ||Usage (0x24)||<br /> |-<br /> |0x95||0x24|| - ||Report Count (36)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x08|| - ||Report ID (8)||<br /> |-<br /> |0x09||0x25|| - ||Usage (0x25)||<br /> |-<br /> |0x95||0x03|| - ||Report Count (3)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x10|| - ||Report ID (16)||<br /> |-<br /> |0x09||0x26|| - ||Usage (0x26)||<br /> |-<br /> |0x95||0x04|| - ||Report Count (4)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x11|| - ||Report ID (17)||<br /> |-<br /> |0x09||0x27|| - ||Usage (0x27)||<br /> |-<br /> |0x95||0x02|| - ||Report Count (2)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x12|| - ||Report ID (18)||<br /> |-<br /> |0x06||0x02||0xFF||Usage Page (Vendor Defined 0xFF02)||<br /> |-<br /> |0x09||0x21|| - ||Usage (0x21)||<br /> |-<br /> |0x95||0x0F|| - ||Report Count (15)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x13|| - ||Report ID (19)||<br /> |-<br /> |0x09||0x22|| - ||Usage (0x22)||<br /> |-<br /> |0x95||0x16|| - ||Report Count (22)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x14|| - ||Report ID (20)||<br /> |-<br /> |0x06||0x05||0xFF||Usage Page (Vendor Defined 0xFF05)||<br /> |-<br /> |0x09||0x20|| - ||Usage (0x20)||<br /> |-<br /> |0x95||0x10|| - ||Report Count (16)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x15|| - ||Report ID (21)||<br /> |-<br /> |0x09||0x21|| - ||Usage (0x21)||<br /> |-<br /> |0x95||0x2C|| - ||Report Count (44)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x06||0x80||0xFF||Usage Page (Vendor Defined 0xFF80)||<br /> |-<br /> |0x85||0x80|| - ||Report ID (128)||<br /> |-<br /> |0x09||0x20|| - ||Usage (0x20)||<br /> |-<br /> |0x95||0x06|| - ||Report Count (6)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x81|| - ||Report ID (129)||<br /> |-<br /> |0x09||0x21|| - ||Usage (0x21)||<br /> |-<br /> |0x95||0x06|| - ||Report Count (6)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x82|| - ||Report ID (130)||<br /> |-<br /> |0x09||0x22|| - ||Usage (0x22)||<br /> |-<br /> |0x95||0x05|| - ||Report Count (5)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x83|| - ||Report ID (131)||<br /> |-<br /> |0x09||0x23|| - ||Usage (0x23)||<br /> |-<br /> |0x95||0x01|| - ||Report Count (1)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x84|| - ||Report ID (132)||<br /> |-<br /> |0x09||0x24|| - ||Usage (0x24)||<br /> |-<br /> |0x95||0x04|| - ||Report Count (4)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x85|| - ||Report ID (133)||<br /> |-<br /> |0x09||0x25|| - ||Usage (0x25)||<br /> |-<br /> |0x95||0x06|| - ||Report Count (6)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x86|| - ||Report ID (134)||<br /> |-<br /> |0x09||0x26|| - ||Usage (0x26)||<br /> |-<br /> |0x95||0x06|| - ||Report Count (6)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x87|| - ||Report ID (135)||<br /> |-<br /> |0x09||0x27|| - ||Usage (0x27)||<br /> |-<br /> |0x95||0x23|| - ||Report Count (35)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x88|| - ||Report ID (136)||<br /> |-<br /> |0x09||0x28|| - ||Usage (0x28)||<br /> |-<br /> |0x95||0x22|| - ||Report Count (34)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x89|| - ||Report ID (137)||<br /> |-<br /> |0x09||0x29|| - ||Usage (0x29)||<br /> |-<br /> |0x95||0x02|| - ||Report Count (2)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x90|| - ||Report ID (144)||<br /> |-<br /> |0x09||0x30|| - ||Usage (X)|| DV – &lt;small&gt;A linear translation in the X direction. Report values should increase as the control’s position is moved from left to right.&lt;/small&gt;<br /> |-<br /> |0x95||0x05|| - ||Report Count (5)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x91|| - ||Report ID (145)||<br /> |-<br /> |0x09||0x31|| - ||Usage (Y)|| DV – &lt;small&gt;A linear translation in the Y direction. Report values should increase as the control’s position is moved from far to near.&lt;/small&gt;<br /> |-<br /> |0x95||0x03|| - ||Report Count (3)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x92|| - ||Report ID (146)||<br /> |-<br /> |0x09||0x32|| - ||Usage (Z)|| DV – &lt;small&gt;A linear translation in the Z direction. Report values should increase as the control’s position is moved from high to low (Z).&lt;/small&gt;<br /> |-<br /> |0x95||0x03|| - ||Report Count (3)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0x93|| - ||Report ID (147)||<br /> |-<br /> |0x09||0x33|| - ||Usage (Rx)|| DV – &lt;small&gt;A rotation about the X axis. Angular position report values follow the righthand rule.&lt;/small&gt;<br /> |-<br /> |0x95||0x0C|| - ||Report Count (12)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xA0|| - ||Report ID (160)||<br /> |-<br /> |0x09||0x40|| - ||Usage (Vx)|| DV – &lt;small&gt;A vector in the X direction. Report values should increase as the vector increases in the positive X direction (from left to right). Negative values represent vectors in the negative X direction.&lt;/small&gt;<br /> |-<br /> |0x95||0x06|| - ||Report Count (6)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xA1|| - ||Report ID (161)||<br /> |-<br /> |0x09||0x41|| - ||Usage (Vy)|| DV – &lt;small&gt;A vector in the Y direction. Report values should increase as the vector increases in the positive Y direction (from far to near). Negative values represent vectors in the negative Y direction.&lt;/small&gt;<br /> |-<br /> |0x95||0x01|| - ||Report Count (1)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xA2|| - ||Report ID (162)||<br /> |-<br /> |0x09||0x42|| - ||Usage (Vz)|| DV – &lt;small&gt;(Z direction -from high to low)&lt;/small&gt;<br /> |-<br /> |0x95||0x01|| - ||Report Count (1)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xA3|| - ||Report ID (163)||<br /> |-<br /> |0x09||0x43|| - ||Usage (Vbrx)|| DV – &lt;small&gt;A vector in the X direction relative to the body of an object. Report values should increase as the vector increases in the positive X direction (forward). Negative values represent vectors in the negative X direction. X is the “forward” axis for an object&lt;/small&gt;<br /> |-<br /> |0x95||0x30|| - ||Report Count (48)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xA4|| - ||Report ID (164)||<br /> |-<br /> |0x09||0x44|| - ||Usage (Vbry)|| DV – &lt;small&gt;(Y direction -to the right from an observer facing forward on the object)&lt;/small&gt;<br /> |-<br /> |0x95||0x0D|| - ||Report Count (13)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xA5|| - ||Report ID (165)||<br /> |-<br /> |0x09||0x45|| - ||Usage (Vbrz)|| DV – &lt;small&gt;A vector in the Z direction relative to the body of an object. Report values should increase as the vector increases in the positive Z direction (down from an observer facing forward on the object). Negative values represent vectors in the negative Z direction.&lt;/small&gt;<br /> |-<br /> |0x95||0x15|| - ||Report Count (21)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xA6|| - ||Report ID (166)||<br /> |-<br /> |0x09||0x46|| - ||Usage (Vno)|| DV– &lt;small&gt;A non oriented vector or value. The units define a physical measurement not related to a specific axis or orientation. An example would be pressure or temperature.&lt;/small&gt;<br /> |-<br /> |0x95||0x15|| - ||Report Count (21)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xF0|| - ||Report ID (240)||<br /> |-<br /> |0x09||0x47|| - ||Usage (Feature Notification)|| <br /> |-<br /> |0x95||0x3F|| - ||Report Count (63)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xF1|| - ||Report ID (241)||<br /> |-<br /> |0x09||0x48|| - ||Usage (Resolution Multiplier)|| DV– &lt;small&gt;Defines a (if a device has the capability to vary the resolution of one or more of its controls) Resolution Multiplier for a (all) Control:&lt;/small&gt;<br /> |-<br /> |0x95||0x3F|| - ||Report Count (63)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xF2|| - ||Report ID (242)||<br /> |-<br /> |0x09||0x49|| - ||Usage (0x49)||<br /> |-<br /> |0x95||0x0F|| - ||Report Count (15)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xA7|| - ||Report ID (167)||<br /> |-<br /> |0x09||0x4A|| - ||Usage (0x4A)||<br /> |-<br /> |0x95||0x01|| - ||Report Count (1)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xA8|| - ||Report ID (168)||<br /> |-<br /> |0x09||0x4B|| - ||Usage (0x4B)||<br /> |-<br /> |0x95||0x01|| - ||Report Count (1)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xA9|| - ||Report ID (169)||<br /> |-<br /> |0x09||0x4C|| - ||Usage (0x4C)||<br /> |-<br /> |0x95||0x08|| - ||Report Count (8)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xAA|| - ||Report ID (170)||<br /> |-<br /> |0x09||0x4E|| - ||Usage (0x4E)||<br /> |-<br /> |0x95||0x01|| - ||Report Count (1)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xAB|| - ||Report ID (171)||<br /> |-<br /> |0x09||0x4F|| - ||Usage (0x4F)||<br /> |-<br /> |0x95||0x39|| - ||Report Count (57)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xAC|| - ||Report ID (172)||<br /> |-<br /> |0x09||0x50|| - ||Usage (0x50)||<br /> |-<br /> |0x95||0x39|| - ||Report Count (57)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xAD|| - ||Report ID (173)||<br /> |-<br /> |0x09||0x51|| - ||Usage (0x51)||<br /> |-<br /> |0x95||0x0B|| - ||Report Count (11)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xAE|| - ||Report ID (174)||<br /> |-<br /> |0x09||0x52|| - ||Usage (0x52)||<br /> |-<br /> |0x95||0x01|| - ||Report Count (1)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xAF|| - ||Report ID (175)||<br /> |-<br /> |0x09||0x53|| - ||Usage (0x53)||<br /> |-<br /> |0x95||0x02|| - ||Report Count (2)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0x85||0xB0|| - ||Report ID (176)||<br /> |-<br /> |0x09||0x54|| - ||Usage (0x54)||<br /> |-<br /> |0x95||0x3F|| - ||Report Count (63)||<br /> |-<br /> |0xB1||0x02|| - ||Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)||<br /> |-<br /> |0xC0|| - || - ||End Collection|| End<br /> |-<br /> |}<br /> <br /> &lt;small&gt;Total size of the Report descriptor is 0x01D3 (467)&lt;/small&gt;<br /> <br /> === Report Structure ===<br /> ==== Samples Report ====<br /> &lt;small&gt;<br /> {| cellpadding=&quot;4&quot; style=&quot;border-collapse: collapse; text-align: center;&quot;<br /> |-<br /> | colspan=&quot;6&quot; |&lt;code&gt;''64 bytes''&lt;/code&gt;<br /> |-<br /> |style=&quot;border: 1px solid; border-left: hidden;&quot; | …<br /> |style=&quot;border: 1px solid;&quot; |<br /> &lt;pre&gt;<br /> Offset(d) 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15<br /> <br /> 00000000 01 81 80 83 7A 08 00 00 00 00 93 5F FB D2 FF DA<br /> 00000016 FF D8 FF 4F EE 14 1B 99 FE 00 00 00 00 00 05 00<br /> 00000032 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00<br /> 00000048 80 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00<br /> &lt;/pre&gt;<br /> |style=&quot;border: 1px solid; border-right: hidden;&quot; | …<br /> |}<br /> &lt;/small&gt;<br /> <br /> {{Spoiler|Others samples:|<br /> &lt;small&gt;<br /> &lt;pre&gt;<br /> Offset(d) 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15<br /> <br /> 00000000 01 7d 80 7f 80 08 00 f0 00 00 98 5b fd 07 00 57<br /> 00000016 00 9b fe 8d 0d 1b 1f 6d 05 00 00 00 00 00 1b 00<br /> 00000032 00 01 2b a9 b8 41 16 ab 86 e5 12 00 80 00 00 00<br /> 00000048 80 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00<br /> &lt;/pre&gt;<br /> <br /> &lt;pre&gt;<br /> Offset(d) 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15<br /> <br /> 00000000 01 7e 82 7f 7e 08 00 30 00 00 89 96 fc 00 00 00<br /> 00000016 00 03 00 a9 00 af 20 e9 07 00 00 00 00 00 1b 00<br /> 00000032 00 01 2c 72 8a 40 28 73 1f 04 0e 00 80 00 00 00<br /> 00000048 80 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00<br /> &lt;/pre&gt;<br /> <br /> &lt;pre&gt;<br /> Offset(d) 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15<br /> <br /> 00000000 01 7e 81 7f 7e 08 00 bc 00 00 17 a1 fd fd ff 01<br /> 00000016 00 01 00 8d 00 a3 20 d1 07 00 00 00 00 00 1b 00<br /> 00000032 00 02 3c 0b 5b 94 1a 87 de c0 1b 41 0b 5e 94 1a<br /> 00000048 87 de c0 1b 00 80 00 00 00 80 00 00 00 00 80 00<br /> &lt;/pre&gt;<br /> &lt;/small&gt;<br /> }}<br /> <br /> ==== Data Format ====<br /> {| class=&quot;wikitable&quot;<br /> |+Data Format<br /> |-<br /> !width=&quot;100&quot;|byte index<br /> !width=&quot;60&quot;|bit 7<br /> !width=&quot;60&quot;|bit 6<br /> !width=&quot;60&quot;|bit 5<br /> !width=&quot;60&quot;|bit 4<br /> !width=&quot;60&quot;|bit 3<br /> !width=&quot;60&quot;|bit 2<br /> !width=&quot;60&quot;|bit 1<br /> !width=&quot;60&quot;|bit 0<br /> |-<br /> |[0]<br /> |colspan=&quot;8&quot;|Report ID (USB)<br /> |-<br /> |[1]<br /> |colspan=&quot;8&quot;|{{padl}} X axis (0 = {{padll}} left)<br /> |-<br /> |[2]<br /> |colspan=&quot;8&quot;|{{padl}} Y axis (0 = {{padlu}} up)<br /> |-<br /> |[3]<br /> |colspan=&quot;8&quot;|{{padr}} Right Stick axis X<br /> |-<br /> |[4]<br /> |colspan=&quot;8&quot;|{{padr}} Right Stick axis Y<br /> |-<br /> |[5]<br /> |{{padtriangle}}<br /> |{{padcircle}}<br /> |{{padcross}}<br /> |{{padsquare}}<br /> |colspan=&quot;4&quot;|D-PAD : hat format (0x08 is released) <br /> {| class=&quot;wikitable&quot; style=&quot;text-align: center;&quot;<br /> |-<br /> | colspan=&quot;8&quot;| 1000<br /> |-<br /> | 0111 || 0110 || 0101 || 0100 || 0011 || 0010 || 0001 || 0000 <br /> |-<br /> | 7=NW || 6=W || 5=SW || 4=S || 3=SE || 2=E || 1=NE || 0=N<br /> |-<br /> | '''↑←''' || '''←''' || '''↓←''' || '''↓''' || '''↓→''' || ''→ '' || '''↑→''' || '''↑'''<br /> |-<br /> |}<br /> |-<br /> |[6]<br /> |{{padr3}}<br /> |{{padl3}}<br /> |{{padoption}}<br /> |{{padshare}}<br /> |{{padr2}} (8)<br /> |{{padl2}} (4)<br /> |{{padr1}} (2)<br /> |{{padl1}} (1)<br /> |-<br /> |[7]<br /> |colspan=&quot;6&quot;|Counter (counts up by 1 per report)<br /> |T-PAD click (2)<br /> |{{padps}} (1)<br /> |-<br /> |[8]<br /> |colspan=&quot;8&quot;|{{padl2}} Trigger (0 = released/unpressed, 0xFF = fully pressed)<br /> |-<br /> |[9]<br /> |colspan=&quot;8&quot;|{{padr2}} Trigger<br /> |-<br /> |[10]<br /> |colspan=&quot;8&quot;|Unknown, seems to count downwards, non-random pattern<br /> |-<br /> |[11]<br /> |colspan=&quot;8&quot;|Unknown, seems to count upwards by 3, but by 2 when [10] underflows<br /> |-<br /> |[12]<br /> |colspan=&quot;8&quot;|Battery Level<br /> |-<br /> |[13 - 14]<br /> |colspan=&quot;8&quot;|Possibly Gyro X (seems to be signed): orientation measures<br /> |-<br /> |[15 - 16]<br /> |colspan=&quot;8&quot;|Possibly Gyro Y<br /> |-<br /> |[17 - 18]<br /> |colspan=&quot;8&quot;|Possibly Gyro Z<br /> |-<br /> |[19 - 20]<br /> |colspan=&quot;8&quot;|Possibly Accel X: acceleration measures<br /> |-<br /> |[21 - 22]<br /> |colspan=&quot;8&quot;|Possibly Accel Y<br /> |-<br /> |[23 - 24]<br /> |colspan=&quot;8&quot;|Possibly Accel Z<br /> |-<br /> |[25 - 29]<br /> |colspan=&quot;8&quot;|Unknown<br /> |-<br /> |[30]<br /> |colspan=&quot;8&quot;| EXT/HeadSet/[[Earset]]: bitmask<br /> *01111011 is headset with mic (0x7B)<br /> *00111011 is headphones (0x3B)<br /> *00011011 is nothing attached (0x1B)<br /> *00001000 is bluetooth? (0x08) <br /> *00000101 is ? (0x05)<br /> |-<br /> |[31 - 32]<br /> |colspan=&quot;8&quot;|Unknown: speculation: theses 5 next (reserved) nibbles for future additional products<br /> |-<br /> |[33]<br /> |colspan=&quot;4&quot;| Unknown: speculation: could be bitmaps for control commands like volume, etc.<br /> |colspan=&quot;4&quot;|T-PAD event active:<br /> &lt;small&gt;<br /> (seen only)<br /> *0x00: No data for T-PAD&lt;ref&gt;if NULL:&lt;/ref&gt;<br /> *0x01: Set data for 2 current touches<br /> *0x02: set data for previous touches at [44-51]<br /> &lt;/small&gt;<br /> |-<br /> |[34]<br /> |colspan=&quot;8&quot;|T-PAD: auto incrementing number to track last update?<br /> |-<br /> |[35]<br /> |colspan=&quot;8&quot;|T-PAD: tracking numbers, unique to each finger (№1) down, so for each lift and repress, it gets a newly incremented figure.<br /> |-<br /> |[36 - 38]<br /> |colspan=&quot;8&quot;|T-PAD: each finger (№1) location/positional data: static upon finger lifting, to maintain state.<br /> To decode, each coordinated (x &amp; y) is using 12 bits, you need to mask/split and swap the middle byte :<br /> e.g: 0x8a 4|0 28 → 0x08a 284 → x= 138 y= 644 <br /> &lt;ref&gt;T-PAD resolution (retail): 1920x943 → x=0-1919 and y=0-942<br /> &lt;small&gt;<br /> (2¹² = 4096 when 2bits¹¹ = 2048 would have been enough to fit into the resolution)<br /> &lt;/small&gt;<br /> &lt;/ref&gt;<br /> |-<br /> |[39]<br /> |colspan=&quot;8&quot;|T-PAD: tracking numbers, unique to each finger (№2) down.<br /> |-<br /> |[40 - 42]<br /> |colspan=&quot;8&quot;|T-PAD: each finger (№2) location.<br /> |-<br /> |[44 - 47]<br /> |colspan=&quot;8&quot;|T-PAD: the previous touches (№1) track and location<br /> |-<br /> |[48 - 51]<br /> |colspan=&quot;8&quot;|T-PAD: the previous touches (№2) track and location<br /> |-<br /> |[52 - 63]<br /> |colspan=&quot;8&quot;|TODO&lt;ref&gt;if NULL:&lt;/ref&gt;<br /> |-<br /> |-<br /> |}<br /> <br /> ===== Notes =====<br /> {{reflist}}<br /> <br /> see [[User talk:Euss/sandbox|Button mapping]]<br /> <br /> Speculation: sound, rumble (active: 1-255 / Left-Right small or large?) and LED (Color changing 8 bits for each of the R, G, and B primaries : 13-255?) are only carry through (always enable) blue-tooth.<br /> <br /> === Class Requests ===<br /> <br /> This is what happened with a controller that was not previously synced to the PS4<br /> &lt;pre&gt;<br /> Set Address<br /> Get Device Descriptor: (Short Device Descriptor)<br /> Get Device Descriptor: (Full Device Descriptor)<br /> Get String Descriptor[idx=0, langID=0]: 04 03<br /> Get String Descriptor[idx=0, langID=0]: 04 03 09 04<br /> Get String Descriptor[idx=1, langID=0x0409]: 38 03<br /> Get String Descriptor[idx=1, langID=0x0409]: &quot;Sony Computer Entertainment&quot;<br /> Get String Descriptor[idx=2, langID=0x0409]: <br /> Get String Descriptor[idx=3, langID=0x0409]: &quot;Wireless Controller&quot;<br /> Get Configuration Descriptor: (Short Configuration Descriptor)<br /> Get Configuration Descriptor: (Full Configuration Descriptor)<br /> Get Device Status: 00 00<br /> Set Configuration to 0x01<br /> Get Descriptor: (HID Report Descriptor)<br /> Set Idle to 0<br /> Get Report 0xA3: A3 41 75 67 20 20 33 20 32 30 31 33 00 00 00 00 00 30 37 3A 30 31 3A 31 32 00 00 00 00 00 00 00 00 00 01 00 31 03 00 00 00 49 00 05 00 00 80 03 00<br /> Get Report 0x02: 02 01 00 00 00 00 00 87 22 7B DD B2 22 47 DD BD 22 43 DD 1C 02 1C 02 7F 1E 2E DF 60 1F 4C E0 3A 1D C6 DE 08 00<br /> Get Report 0xA3: A3 41 75 67 20 20 33 20 32 30 31 33 00 00 00 00 00 30 37 3A 30 31 3A 31 32 00 00 00 00 00 00 00 00 00 01 00 31 03 00 00 00 49 00 05 00 00 80 03 00<br /> Get Report 0x12: 12 8B 09 07 6D 66 1C 08 25 00 00 00 00 00 00 00<br /> Set Report 0x14: 13 AC 9E 17 94 05 B0 56 E8 81 38 08 06 51 41 C0 7F 12 AA D9 66 3C CE<br /> Set Report 0x12: 14 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br /> &lt;/pre&gt;<br /> <br /> The same controller is then disconnected, and this is what happened when it reconnected<br /> &lt;pre&gt;<br /> ... enumeration steps same as before<br /> Get Report 0xA3: A3 41 75 67 20 20 33 20 32 30 31 33 00 00 00 00 00 30 37 3A 30 31 3A 31 32 00 00 00 00 00 00 00 00 00 01 00 31 03 00 00 00 49 00 05 00 00 80 03 00<br /> Get Report 0x02: 02 01 00 00 00 00 00 87 22 7B DD B2 22 47 DD BD 22 43 DD 1C 02 1C 02 7F 1E 2E DF 60 1F 4C E0 3A 1D C6 DE 08 00<br /> Get Report 0xA3: A3 41 75 67 20 20 33 20 32 30 31 33 00 00 00 00 00 30 37 3A 30 31 3A 31 32 00 00 00 00 00 00 00 00 00 01 00 31 03 00 00 00 49 00 05 00 00 80 03 00<br /> Get Report 0x12: 12 8B 09 07 6D 66 1C 08 25 00 AC 9E 17 94 05 B0<br /> &lt;/pre&gt;<br /> <br /> report ID 0xA3 seems to be some sort of time-of-manufacture identifier, it contains a date and time as a string in the beginning, &quot;.Aug 3 2013.....07:01:12...........1....I.....&quot;<br /> <br /> AC 9E 17 94 05 B0 is PS4 (Host) Bluetooth MAC Address (in proper MAC format, it is B0:05:94:17:9E:AC), AC 9E 17 is the LAP and 0x94 is the UAP, 05 B0 is the NAP, this was verified using a Bluetooth sniffer.<br /> <br /> The 16 bytes that follow immediately after the BD_ADDR is the link key that is used to authenticate the DualShock 4. When a Bluetooth connection is established, this link key is used for authentication.<br /> <br /> I am guessing that 8B 09 07 6D 66 1C means something, it's different on a different controller, it seems to be the Bluetooth MAC Address of the DualShock 4. in proper MAC format it is 1C:66:6D:07:09:8B in this example.<br /> <br /> {{Reverse Engineering}}<br /> &lt;noinclude&gt;[[Category:Main]]&lt;/noinclude&gt;</div> 101.175.173.200