Project

General

Profile

Actions

Emulator Issues #11776

closed

Tilting emulated Wii Remote too quickly leads to brief movement in the other direction

Added by Furymon almost 5 years ago. Updated over 4 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Current
Regression:
Yes
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
5.0-10056
Fixed in:
5.0-10989

Description

The issue is with the emulated wiimote tilt, using the left tilt it works fine but when using the right tilt it for some reason moves left then right. I found that the issue began to occur in 5.0-10056 but i dont know how to fix it or if there is a fix

This is what was added in the revision that created the issue: https://github.com/dolphin-emu/dolphin/pull/7861

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

[5.0-10560 ]

Is the issue present in the latest stable version?

[No]


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #11866: Game MARBLE SAGA, problems with control "tilt" in new versions of Dolphin Emulator...Duplicate

Actions
Actions #1

Updated by JosJuice almost 5 years ago

  • Milestone set to Current
  • Regression changed from No to Yes
  • Regression start set to 5.0-10056
Actions #2

Updated by Billiard26 almost 5 years ago

Game Name?

[Put Game Name here]

What steps will reproduce the problem?

[Reproduction steps here]

Actions #3

Updated by JMC4789 almost 5 years ago

Please fill out the issue template properly as it aids developers in identifying and fixing issues. It exists for a reason.

Actions #4

Updated by Furymon almost 5 years ago

My mistake, I'll add in everything else:

Game name?

[I've found it to not be an issue that ties to a single game but rather games that use tilt such as (Mario kart Wii, Sonic and the secret rings).]

Game ID? (right click the game in the game list, Properties, Info tab)

[For games that I've tested which so far which are Mario Kart Wii (RMCE01) as well as Sonic and the secrer rings (RSRE8P).]

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

[Unable to post this at the moment and will do so later]

What's the problem? Describe what went wrong.

[Already stated above]

What steps will reproduce the problem?

[Attempting to use right tilt on emulated wiimote at any point]

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

[Yes, 5.0-10560]

Is the issue present in the latest stable version?

[No, 5.0]

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

[5.0-10056]

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

[issue isn't graphical]

What are your PC specifications? (CPU, GPU, Operating System, more)

[i7-6500u 2.5ghz, nvidia geforce 940mx, 8gb ram, Windows 10]

Actions #5

Updated by Billiard26 almost 5 years ago

I can observe this in Mario Kart Wii with "Sideways Wii Remote".
The "kart" will turn slightly left before turning right.

The cause is how quickly we rotate the emulated remote for "tilt" actions in combination with simulating "centripetal" acceleration.

You'd probably experience the problem on real hardware if you made made such quick movements.

Commenting out this line does fix the issue.
https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp#L729

Alternatively, a tilt "speed" setting could be introduced.

Actions #6

Updated by Furymon almost 5 years ago

How do I add that line in dolphin, also if the tilt speed setting is possible could you do it please?

Actions #7

Updated by Furymon almost 5 years ago

Commenting the line did not work, a tilt speed setting would be the only solution to the issue

Actions #8

Updated by Billiard26 almost 5 years ago

Commenting the line does work (I did test it).

But adding a "speed" setting would probably be reasonable.

Actions #9

Updated by Furymon almost 5 years ago

I guess i did it wrong, how am I meant to comment out the line

Actions #10

Updated by JosJuice almost 5 years ago

Add // to the beginning of the line.

Actions #11

Updated by Furymon almost 5 years ago

okay, i did it wrong the other time because it is working now

Actions #12

Updated by JosJuice over 4 years ago

  • Has duplicate Emulator Issues #11866: Game MARBLE SAGA, problems with control "tilt" in new versions of Dolphin Emulator... added
Actions #13

Updated by JosJuice over 4 years ago

  • Subject changed from Issue with Emulated Wiimote Tilt, 5.0-10056 onwards to Tilting emulated Wii Remote too quickly leads to brief movement in the other direction
Actions #14

Updated by Billiard26 over 4 years ago

  • Assignee set to Billiard26
Actions #15

Updated by Billiard26 over 4 years ago

  • Status changed from New to Fix pending
Actions #16

Updated by Billiard26 over 4 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-10989
Actions

Also available in: Atom PDF