Homebrew Latest emulator and libogc with 3rd party classic controller

  • Thread starter Thread starter matguitarist
  • Start date Start date
  • Views Views 226,959
  • Replies Replies 788
  • Likes Likes 2
matguitarist said:
Hi Fix !

Yes, i forgot to add the third controller patch to libogc svn, sorry

Here the fix one ! Libogc + portlibs 09/04/10

THANK YOU matguitarist. It works perfect
yaywii.gif
 
No, this wiiuse also doesn't work with my third party classic controller, ID 0x9b999700
huh.gif
I also replaced the libwiiuse.a with an older version, from the libogc SVN USB2 Support.zip, and it worked. The onliest problem with the older versions is that the analog stick doesn't work.
 
blink.gif
No, still nothing... I'm testing with fceugx, maybe it's a emulator problem? I will test the full package now...
 
matguitarist said:
have u try a make clean before?
I removed the previous libogc and portlibs folder and inserted the new one, updated fceugx and make clean, make sure all files are removed, restarted programmers notepad and compiled it. But it still doesn't work. Thanks for your hard work on that strange problem!
 
Your 3rd party classic controller don't work at all ???

Does it work with virtual console ??? Maybe your controller die !?!

I don't understand why it doesn't work now. I add your ID to the libogc ... i didn't add it before, i just put a line for unrecognized controller to be detect like a classic controller and that do the job before.

Try this files from an older version. Hope it work this time
blink.gif


Libogc Wiiuse
 
My classic controller and the analog stick works with virtual console games, and it also works with an older wiiuse version. I have the controller two months now. I have other ID's sometimes, ID 0x93939200 or ID 0x9da49d00.
 
what libogc are you using as a base for these changes? and what all files in libogc source are being patched?
 
Libogc svn

/wiiuse/io.c

add a line to the default in the switch of case 3 :

if(!classic_ctrl_handshake(wm,&wm->exp.classic,data,len)) ...

We could add manualy controller ID to wiiuse_internal.h and io.c

but with that line, we don't need to add each new ID found
 
Thanks matguitarist for your help, my classic controller works now, but I want to ask something else: The analog sticks doesn't work correctly. It seems like that "down" on the left analog stick works, but nothing more. I used WiiDoom to test it. Any idea why?
 
Maybe it's cause i use an old libogc backup for the wiiuse, i'll try to rewrote the section for classic controller. I don't know if i got time to do it tonight but i'll try. Did you try another app like snes9x just to see if the problem come from the compiled apps or from libogc.
 

Site & Scene News

Popular threads in this forum