mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
5b37ced196
== DETAILS The current HID implementation assumes a very low-level USB library is being used. This causes a problem on Wii U, because the Cafe OS only exposes a high-level interface. To get these functions exposed to the HID pad drivers, I had to make three changes: 1. I added the legacy "send_control" function to the HID driver interface 2. I modified the signature of pad_connection_pad_init() to send the driver pointer instead of the function pointer 3. I updated the HID pad drivers to keep the pointer to the driver instead of the function pointer, and updated the calls into the send_control function as appropriate 4. I updated the HID drivers to use the new pad init signature == TESTING Untested, in theory it should work without a hitch because at this point all I've done is abstract things a little. I still need to update the HID pad drivers to use the Wii U-specific calls as appropriate.