mirror of
https://github.com/libretro/RetroArch
synced 2025-02-15 18:39:55 +00:00
== DETAILS USB Vendor and Product IDs are in little-endian byte order, and they need to be byteswapped on big-endian systems. This approach allows us to use the standard hex notation for the VID/HID values, and give them meaningful names, and only swap on the platforms that need it. Also prevents having to abuse SWAP16() in the platform- specific code.