This repository has been archived by the owner on Jan 1, 2024. It is now read-only.
forked from Jays2Kings/DS4Windows
-
Notifications
You must be signed in to change notification settings - Fork 812
UDP Server Output Packet Information
Travis Nickles edited this page Nov 25, 2018
·
4 revisions
Work in Progress
Byte Index | bit 7 | bit 6 | bit 5 | bit 4 | bit 3 | bit 2 | bit 1 | bit 0 |
---|---|---|---|---|---|---|---|---|
[0-3] | "DSUS" | |||||||
[4-5] | Protocol Version (1001) | |||||||
[6-7] | Buffer Length (84) | |||||||
[8-11] | CRC32 | |||||||
[12-15] | Server Id | |||||||
[16-19] | PadDataRsp (0x1000002) | |||||||
[20] | PadId (0 - 3) | |||||||
[21] | PadState | |||||||
[22] | Model | |||||||
[23] | Connection Type | |||||||
[24-29] | Mac Address | |||||||
[30] | Battery Status | |||||||
[31] | Pad IsActive (0,1) | |||||||
[32-35] | Hid Report Packet Counter | |||||||
[36] | Dpad Left | Dpad Down | Dpad Right | Dpad Up | Options | R3 | L3 | Share |
[37] | Square | Cross | Circle | Triangle | R1 | L1 | R2Btn | L2Btn |
[38] | PS | |||||||
[39] | Touch Button | |||||||
[40] | Left Stick X | |||||||
[41] | Left Stick Y Inverted | |||||||
[42] | Right Stick X | |||||||
[43] | Right Stick Y Inverted | |||||||
[44] | DPad Left Button | |||||||
[45] | DPad Down Button | |||||||
[46] | DPad Right Button | |||||||
[47] | DPad Up Button | |||||||
[48] | Square Button | |||||||
[49] | Cross Button | |||||||
[50] | Circle Button | |||||||
[51] | Triangle Button | |||||||
[52] | R1 Button | |||||||
[53] | L1 Button | |||||||
[54] | R2 | |||||||
[55] | L2 | |||||||
[56] | Touch 1 Active | |||||||
[57] | Touch 1 Id | |||||||
[58-59] | Touch 1 X | |||||||
[60-61] | Touch 1 Y | |||||||
[62] | Touch 2 Active | |||||||
[63] | Touch 2 Id | |||||||
[64-65] | Touch 2 X | |||||||
[66-67] | Touch 2 Y | |||||||
[68-75] | Total Micro Seconds | |||||||
[76-79] | Accelerometer X | |||||||
[80-83] | Accelerometer Y | |||||||
[84-87] | Accelerometer Z Inverted | |||||||
[90-93] | Gyro Angular Velocity Pitch | |||||||
[94-97] | Gyro Angular Velocity Yaw | |||||||
[98-100] | Gyro Angular Velocity Roll |