Giter Club home page Giter Club logo

Comments (11)

msmalik681 avatar msmalik681 commented on July 18, 2024

That is a odd bug @demothens can you check why this is not working on the pak selection menu as you added the support for the pro pad and can you use the trunk version as I added the support using the lib and include files in the tools folder and I did not use that wupc.c file just the wupc.h as recommended on the github for the fix.

from openbor.

SieKensou avatar SieKensou commented on July 18, 2024

It's the Classic Pro Controller for the Wii, not the Wii U Pro Controller. I don't have the standard Classic controller at hand right now to check if it happens with that one too, but it should as they are the same in functionability.
The one I have tested is this one (Original from Nintendo): https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Gold_classic_controller_pro.JPG/800px-Gold_classic_controller_pro.JPG

from openbor.

Wiimpathy avatar Wiimpathy commented on July 18, 2024

It doesn't work with the Wii Classic controller either. In refreshInput() from menu.c you should seperate the classic buttons. Maybe like this:

	if(wpad->exp.type <= WPAD_EXP_NUNCHUK)
	{
		if(wpad->btns_h & WPAD_BUTTON_1)                      btns |= WIIMOTE_1;
		if(wpad->btns_h & WPAD_BUTTON_2)                      btns |= WIIMOTE_2;
		if(wpad->btns_h & WPAD_BUTTON_A)                      btns |= WIIMOTE_A;
		if(wpad->btns_h & WPAD_BUTTON_B)                      btns |= WIIMOTE_B;
		if(wpad->btns_h & WPAD_BUTTON_MINUS)                  btns |= WIIMOTE_MINUS;
		if(wpad->btns_h & WPAD_BUTTON_PLUS)                   btns |= WIIMOTE_PLUS;
		if(wpad->btns_h & WPAD_BUTTON_HOME)                   btns |= WIIMOTE_HOME;
		if(wpad->btns_h & WPAD_NUNCHUK_BUTTON_Z)              btns |= NUNCHUK_Z;
		if(wpad->btns_h & WPAD_NUNCHUK_BUTTON_C)              btns |= NUNCHUK_C;
	}
	else if(wpad->exp.type == WPAD_EXP_CLASSIC)
	{
		if(wpad->btns_h & WPAD_CLASSIC_BUTTON_A)              btns |= CC_A;
		if(wpad->btns_h & WPAD_CLASSIC_BUTTON_B)              btns |= CC_B;
		if(wpad->btns_h & WPAD_CLASSIC_BUTTON_Y)              btns |= CC_Y;
		if(wpad->btns_h & WPAD_CLASSIC_BUTTON_X)              btns |= CC_X;
		if(wpad->btns_h & WPAD_CLASSIC_BUTTON_MINUS)          btns |= CC_MINUS;
		if(wpad->btns_h & WPAD_CLASSIC_BUTTON_PLUS)           btns |= CC_PLUS;
		if(wpad->btns_h & WPAD_CLASSIC_BUTTON_HOME)           btns |= CC_HOME;
		if(wpad->btns_h & WPAD_CLASSIC_BUTTON_FULL_R)         btns |= CC_R;
		if(wpad->btns_h & WPAD_CLASSIC_BUTTON_FULL_L)         btns |= CC_L;
		if(wpad->btns_h & WPAD_CLASSIC_BUTTON_ZL)             btns |= CC_ZL;
		if(wpad->btns_h & WPAD_CLASSIC_BUTTON_ZR)             btns |= CC_ZR;
	}

from openbor.

msmalik681 avatar msmalik681 commented on July 18, 2024

@Wiimpathy thanks i will make a test build with this change.

from openbor.

DCurrent avatar DCurrent commented on July 18, 2024

@Plombo I imagine this is fixed, but mind taking a look?

from openbor.

Wiimpathy avatar Wiimpathy commented on July 18, 2024

I don't think so. What's been fixed recently was a bug in-game: fdcb7a6
Here, it only happens in the menu with specific Wii controllers. There's a possible fix in this branch : https://github.com/Wiimpathy/openbor/commits/wii-plugin-and-fixes
EDIT
I just took a quick look so I may be wrong...

from openbor.

DCurrent avatar DCurrent commented on July 18, 2024

Thanks for the heads up @Wiimpathy. Main problem is not only do I know little about ports (and don't care about them if I'm being honest), I don't have a Wii to test with. @Plombo is our Wii guy but he's been very busy the last couple of years. Hopefully he'll get a chance to stop in and have a look.

from openbor.

Plombo avatar Plombo commented on July 18, 2024

I'm still away from home on holiday travel right now, so it will be at least a couple more days before I can look at it.

from openbor.

msmalik681 avatar msmalik681 commented on July 18, 2024

I can confirm @Wiimpathy your updates have fixed any controller issues could you please add your wii updates to the master build.

Also I noticed you made changes so we can use DevkitPPC r29+ I heard there are issues with later builds if everything is working is it worth updating ?

from openbor.

Wiimpathy avatar Wiimpathy commented on July 18, 2024

Since R28, Wii-U pro controller are supported natively, no need of libwupc. Not sure it's better, I never tested...
R30+ have a newer gcc. It seems performance aren't as good as gcc 6. Never done real benchmark though.
One thing is sure, the dol files are bigger with recent libs : less Ram!
Changelogs:
http://nintendo-ds.dcemu.co.uk/devkitppc-r28-and-libogc-v1-8-15-released-wii-u-development-1158311.html
http://nintendo-ds.dcemu.co.uk/devkitppc-r29-released-kitchen-sink-update-1158398.html
See if it's worth it.

ce525f9 has already been partially merged.
As for argument's support I don't know if you're interested...

I don't mind if you copied my changes directly and pick what you want, it may be simpler.

from openbor.

msmalik681 avatar msmalik681 commented on July 18, 2024

@Wiimpathy thanks I will add the update crediting you in the commit.

Less ram is a definite no so we will stick to the current DevkitPPC.

from openbor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.