Project

General

Profile

Actions

Emulator Issues #13518

open

"Recenter" action doesn't work for touch screen IR

Added by philippe_choquette@icloud.com 14 days ago. Updated 14 days ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Android
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Tested in Super Mario Galaxy, but likely applies to all games.

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

RMGE01

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

N/A

What's the problem? Describe what went wrong.

Using the "Drag" mode for the IR pointer, it's easy to lose the pointer when it goes out of the screen. To easily get it back, the "Recenter" action would be useful. However, when binding it with a device action (e.g., Volume Up), and confirming that Dolphin registers that action, the pointer does not get recentered as intended.

What steps will reproduce the problem?

Go to Settings > Wii Input > Settings for the used Emulated Wii Remote > Motion Simulation > Point > Recenter, and bind the action to an action from your device.

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

Not tested

Is the issue present in the latest stable version?

Yes (5.0-21264)

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.)

N/A

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

N/A

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

Make: Motorola
Model: Edge+
Model no./SKU: XT2061-3
Hardware version: pvt2
Part number: PAHV0011CA
OS: Android 12 (latest)
SoC: Qualcomm Snapdragon 865
CPU: kona
SoC model: SM8250
GPU: Adreno (TM) 650

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

N/A


Files

WiimoteNew.ini (2.64 KB) WiimoteNew.ini philippe_choquette@icloud.com, 04/15/2024 08:39 PM
Actions #1

Updated by JosJuice 14 days ago

  • Subject changed from "Recenter" action doesn't work for the motion simulation of the emulated Wii controller to "Recenter" action doesn't work for touch screen IR
  • Operating system Android added
  • Operating system deleted (N/A)

The recenter button was intended to be used in the situation where you control the pointer using an accelerometer and gyroscope. But maybe we could hook it up here too...?

Actions #2

Updated by Billiard26 14 days ago

There are "Recenter" buttons on both the "Motion Simulation" and "Motion Input" tab.
They serve different purposes.

Both of them work as expected for me.

What do you mean by "drag mode"? Do you mean "Relative Input" enabled?

Attach your WiimoteNew.ini

Please tell us what behavior you are expecting and what you experienced instead.

edit: Oh.. This is android. Maybe some of what I've said doesn't apply. I don't use the Android version.

Actions #3

Updated by JosJuice 14 days ago

Oh, there's one under Motion Simulation too? I wasn't aware of that one. But either way, neither Recenter button is hooked up to the touch screen IR code.

For reference, "drag mode" makes moving the pointer using the touch screen kind of work like moving a mouse cursor using a trackpad. Putting your finger down does nothing in itself, but if you move your finger while keeping your finger held down, that causes the pointer to move.

Actions #4

Updated by philippe_choquette@icloud.com 14 days ago

It's indeed for the Android version! Should have specified in the description.


So basically, in Super Mario Galaxy for example, you have to use the pointer for a lot of things. The first issue I had was that it was often not lined up with where I tapped with my finger, and I played with the vertical alignment and whatnot but it never was really accurate, so I gave up on that method and instead changed to the "drag mode", which @JosJuice described accurately. This allows me to move the pointer like you would with a mouse essentially, and so it made it easier to move the pointer precisely.

However, that introduced another issue, being that the pointer often starts in a position outside of the screen. Normally, with a physical Wii remote, you'd simply point it towards your TV and "voilĂ !", but with this setup, you have to figure out which direction to move the pointer and that's pure guessing game, so you can spend a few seconds swiping your finger in all directions to finally have the cursor within the screen.

Combined with the known issue that the device needs to lay flat for the cursor to appear at all, and it becomes quite a hassle.

When you're in a game, in the side menu, there is this setting for the IR pointer called "Always recenter". That does what it says! But it's simply incompatible with the "drag mode", because everytime you drag the pointer to an element and lift your finger, it resets to the middle. If there could be this exact feature but that could be triggered on demand, it would be perfect.

Please let me know if I can provide more information! I've attached my WiimoteNew.ini file if it can help.

Thank you both for the help!

Actions

Also available in: Atom PDF