DsHidMini icon indicating copy to clipboard operation
DsHidMini copied to clipboard

Default output report LED effects are incorrect

Open nefarius opened this issue 1 month ago • 1 comments

This is still working fine for official Sony hardware, however quite a bit of aftermarket devices in my recently acquired stash display a weirdly mangled charging effect like shown below:

https://github.com/nefarius/DsHidMini/assets/286631/fad0fd49-f0dd-4adc-a421-a30dc8102e11

With the following output report example...

{
  "Instructions": [
    {
      "OutputReport": "000000010000000000FF77000002000000000000000000000000000000FF00010001000000000000000000000000000000",
      "SendXTimes": 1,
      "RepeatDelay": 1,
      "WaitPeriodMs": 1000
    },
    {
      "OutputReport": "000000010000000000FF7700000400000000000000000000FF000100010000000000000000000000000000000000000000",
      "SendXTimes": 1,
      "RepeatDelay": 1000,
      "WaitPeriodMs": 1000
    },
    {
      "OutputReport": "000000010000000000FF770000080000000000FF0001000100000000000000000000000000000000000000000000000000",
      "SendXTimes": 1,
      "RepeatDelay": 1000,
      "WaitPeriodMs": 1000
    },
    {
      "OutputReport": "000000010000000000FF77000010FF00010001000000000000000000000000000000000000000000000000000000000000",
      "SendXTimes": 1,
      "RepeatDelay": 1000,
      "WaitPeriodMs": 1000
    }
  ]
}

...the effects are displayed properly:

https://github.com/nefarius/DsHidMini/assets/286631/e2216a18-5694-47f4-a725-ce1501af8b4a

Fixed example provided by @Kanuan

Details of the controller under test can be found here.

nefarius avatar May 30 '24 11:05 nefarius