Homebrew Wii U Pro Controller drivers for Emulators

  • Thread starter Thread starter M tha MaN
  • Start date Start date
  • Views Views 4,633
  • Replies Replies 1

M tha MaN

Well-Known Member
Member
Joined
Apr 19, 2009
Messages
236
Reaction score
32
Trophies
1
Age
39
Website
www.psxtools.de
XP
2,054
Country
Germany
Hi guys.

I don't know how I can contact tantric or other devs who made emulators for the wii so I'll try posting it here.

tueidj posted on gcforever.com a while ago how you can make the Wii U Pro Controller work with the Wii, so it would be great if some dev could add support to the exisiting emulators e.g. SNES9x GX and so on.

Here is how it's done:

- Identify the controller as a wiiu pro before the game attempts to read any data from the "wiimote". Either read and check the extension id (wiiu pro last byte == 0x20) or check the controller's bluetooth name (which is something like "Nintendo RVL-CNT-UC-01"). If an attempt to read data from the wiimote's memory is performed on a wiiu pro, it will disconnect (only the extension memory is available).
- Use one of the "long" extension data reporting modes, like mode 0x34 - the wiiu pro needs to report more than 6 bytes to send all the data.
- Process the "long" data reports to make the input data look like a classic controller. The four stick axes come first (four little-endian 16-bit words), reduce their precision to match the crappy classic controller (6 bits for left stick, 5 for right) followed by the buttons, which match the classic controller's button reports except for the addition of L3, R3 and the charging/fully charged flags which can all be ignored.

Source: http://www.gc-forever.com/forums/viewtopic.php?f=6&t=1400
 

Site & Scene News

Popular threads in this forum