ndeadly / MissionControl

Use controllers from other consoles natively on your Nintendo Switch via Bluetooth. No dongles or other external hardware neccessary.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Albarosie opened this issue · comments

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

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.

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

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.