Comments (11)
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.
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.
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.
@Wiimpathy thanks i will make a test build with this change.
from openbor.
@Plombo I imagine this is fixed, but mind taking a look?
from openbor.
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.
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.
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.
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.
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.
@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)
- Translation for Korean (Attached txt file) HOT 1
- About Android Quickstart Game HOT 5
- Sound effects keep popping and scratching on ppsspp and linux. HOT 20
- PSP build causes file access errors. Some games are just blank on PSP build. HOT 1
- Linux AMD64 Build fails on Gentoo Linux. HOT 20
- Fails to build on Manjaro x64 HOT 23
- Linux Arm64 Build HOT 13
- Xbox One controller left dpad button not working HOT 1
- Bare Knuckes III Yesterday Once More Crashes in the last version
- Changing Cameratype by script HOT 4
- Annoying sound noises in many games even with BGM and sound effect set to ZERO. HOT 1
- Wrong wiki link HOT 1
- issues with Openbor 4.0 Build 7533 in wine running marvel-first-alliance-2 HOT 3
- New Debug Setting Option: Ingame Debug Log HOT 1
- Cutscenes x skipselect (cannot load players)
- gamecontroller support broken on embedded Linux (aarch64) HOT 2
- New Run Config field: run.speed.z HOT 1
- Appimage require fuse libfuse.so.2 but the lib is here... appimage can't be extracted... HOT 2
- Change config files to .ini instead of binary .cfg file HOT 12
- Options at pause menu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbor.