Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report]: Balance Board Controls don't work properly #776

Open
Albarosie opened this issue Jan 23, 2024 · 3 comments
Open

[Bug Report]: Balance Board Controls don't work properly #776

Albarosie opened this issue Jan 23, 2024 · 3 comments

Comments

@Albarosie
Copy link

Switch Firmware Version

17.0.0 (Latest)

Atmosphère Version

1.6.0 (Latest)

Mission Control Version

0.10.0 (Latest)

Boot Method

Fusée

Issue Description

The Balance Board does not react correctly. I tested mine on Wii, it works. Unfortunately on Switch it only reacts with triggering between Down and Left(19:30 o'clock) on one point. This reaction only comes when pressing at the lower and the left side. While not pressed it stays in the center. No reaction in the upper and upper right side. When only pressed down on the lower right side it still goes to the same point (19:30 o'clock). Calibration does not work cause you can't give any other orders except 19:30. Plzplzplz 🙏🙏 fix that Issue

Error Report

No response

Additional Context

No response

@ndeadly
Copy link
Owner

ndeadly commented Jan 24, 2024

Unfortunately, I don't have access to a balance board anymore so i can't really look into this.

This support was considered to be experimental, and i basically added just enough to get the calibrated data from the board, and map something to the stick while I had access to the board. It was kind of expected that someone wanting to use it seriously would have to put in the work to refine it.

When I tested it, calibration etc seemed to be working alright. I remember having some issues with my center of mass not being centered on the board, due to having large feet. I also had to add an "easing function" to the mapping to avoid having to throw ones weight around to hit the outer limits of the analog stick. Real applications wanting to use this on the Wii likely had access to the raw data from the board and could perform additional processing to suit their needs (or a driver tailored to the board itself). In our case we have to pass the data on as stick data and it gets processed as such before applications get access to it.

The readings may also have been unreliable without enough mass on the board. It's possible just pressing with your hand will give similar results to what you describe here, can't remember.

@ndeadly
Copy link
Owner

ndeadly commented Jan 24, 2024

You can find the code that calibrates and maps the balance board reading here https://github.com/ndeadly/MissionControl/blob/master/mc_mitm/source/controllers/wii_controller.cpp#L361-L381

@Albarosie
Copy link
Author

Thanks a lot for the Reanswer. I'll check if more weight does the job but last time i tried, i also standed on the Board. Hopefully my 80kg get the job done 😅. Thanks for the code, i have to get this to work. All my Balance Issued Clients would benefit a lot from that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants