MSF-XINPUT
MSF-XINPUT copied to clipboard
Fix xinput security string
@dmadison @zlittell The security string should be specified as ASCII characters, not 16 bit unicode. The extra 0x00 are added later when the string descriptor is sent. With this patch, lsusb on Linux shows the correct string.
iInterface 4 Xbox Security Method 3, Version 1.00, © 2005 Microsoft Corporation. All rights reserved.
Good catch! Two notes:
- The length should probably be rewritten as 2 + 88 * 2, matching the other strings.
- I didn't realize it was plain text. Wouldn't it make more sense to use the character literals rather than the hex representations?