RobertDaleSmith / USBRetro

USBRetro: Robust USB host controller input for retro consoles.
https://usbretro.com
Apache License 2.0
104 stars 7 forks source link

Xbox One Chatpad Support #14

Open RobertDaleSmith opened 1 year ago

RobertDaleSmith commented 1 year ago

Not totally necessary for PCEngine usage but going forward with robust USB support for all consoles, it would be nice to have support for both the Xbox 360 and Xbox One Chatpads.

Example implementation that I have not yet been able to fully comprehend enough to implement with TinyUSB: https://github.com/medusalix/xone/blob/bbf0dcc484c3f5611f4e375da43e0e0ef08f3d18/driver/chatpad.c

RobertDaleSmith commented 1 year ago

Some other random documentation found from others' efforts: https://github.com/quantus/xbox-one-controller-protocol https://gist.github.com/berkus/bacdd6bdad10ab83c8179a9802998ed3

I tried using Wireshark to record traffic of Xbox One controller with chatpad running on Windows 10. I located the data packets for the chatpad which start with 0x04 but I was unable to enable the chatpad within TinyUSB on my adapter firmware. Still searching for the chatpad enable command packet data bytes. I will circle back to this one day.