dualshock-tools / ds4-tools

Scripts I use to play and reverse-engineer the DualShock 4
MIT License
300 stars 50 forks source link

Enhancement request: suggest decoding the Vendor and Device ID strings to human readable formats. #6

Open ngth82 opened 1 year ago

ngth82 commented 1 year ago

Enhancement request: suggest decoding the Vendor and Device ID strings to human readable formats.

The supported vendor and device IDs are defined in the array at the beginning, you verbosely output this information when the controller is detected. I suggest an enhancement request to decode this information after line 44 in ds4-tool.py.

0x054c --> Sony Group Corporation 0x05c4 --> DualShock 4 [CUH-ZCT1x] 0x09cc --> DualShock 4 [CUH-ZCT2x]