Emulator Issues #2881
closed
Wrong sensor bar position
Added by oungawak over 14 years ago.
Relates to performance:
No
Relates to maintainability:
No
Description
What steps will reproduce the problem?
- Launch any game that uses the Wiimote to point things on the screen (SMG2/Monster Hunter Tri...)
- Try to point something on the screen
What is the expected output? What do you see instead?
The Wiimote cursor must go to the position you pointed on the screen, by using the sensor bar position on the TV. Instead, the Wiimote considers the sensor bar as the center of the screen, regardless of the sensor bar position configured in Dolphin. Consequently, this create an offset between where you point and where the Wiimote cursor really is.
Dolphin version with the problem? Other Dolphin version without the
problem?
r5813
32-bit or 64-bit and any other build parameters?
64bit, "www.dolphin-emulator.com" build.
OS version and versions of tools/libraries used?
Windows 64bits.
Please provide any additional information below.
I always considered the Wiimote was very difficult to use on Dolphin. I think this was the reason. So this problem must be very old. Also I noticed my Wiimote don't work it the sensitivity isn't set to 5, and this setting is restored to 3 each time a launch a game. Very annoying. >_<
just change the ir pointer settings in the wiimote config o_o
I've already tried to change theses values. It seems it haven't changed anything.
Hi, I've observed some time ago that the code allways put it in the bottom position:
wiiuse_set_ir_position(g_WiiMotesFromWiiUse[i], WIIUSE_IR_BOTTOM);
It must change betwen WIIUSE_IR_BOTTOM or WIIUSE_IR_ABOVE. Now it ignores the config window.
I've commented it in other issue two weeks ago.
Regards!
don't you change that in "Config->Wii"? o_O
Little mistake in my last comment, it is allways in the ABOVE position, ignoring the configuration window:
File wiimote_real.cpp, line 397, 398:
// Set the sensor bar position, this should only affect the internal wiiuse api functions
wiiuse_set_ir_position(g_WiiMotesFromWiiUse[i], WIIUSE_IR_ABOVE);
This one has ever been set to WIIUSE_IR_ABOVE, and never changed based on settings.
Sanchez: Any idea?
Just checked, the Sensorbar setting writes directly to SYSCONF, which is handed to the games in turn. I'm not sure if wiiuse is doing anything with the position, since we only use it to get some positions and stuff.
Weird... I used the sensor bar of a friend, and the bug is gone. I don't understand what's wrong with mine, but I will buy a new one.
You can close this issue, my apologies. :/
- Status changed from New to Invalid
I've just noticed this issue too, on the latest release version. I think I recall there being a calibration option on the Wii, where after you've set top or bottom, you can fine tune it to suit your particular TV. This doesn't appear to be present in dolphin. It does however seem better if it's at the top. When set to the bottom, the sensor bar does indeed appear to be considered the centre of the screen.
There's no sensor bar calibration option in the Wii Menu's settings. Zelda: Twilight Princess lets you adjust the size of the sensor bar, which is what you might be thinking of, but on the Wii Menu itself you only have the top/bottom position option and the IR sensitivity option, which lets the Wii Remotes avoid thinking your ceiling lights or Christmas tree or menorah or whatever are sensor bars. Dolphin has both of these options.
Also available in: Atom
PDF