Project

General

Profile

Actions

Emulator Issues #12412

open

Add option to rotate/recenter accel/gyro inputs so that phones don't have to be held flat

Added by Olywa123 about 3 years ago. Updated 11 months ago.

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

0%

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

Description

Game Name?

[Excite Truck] / [ExciteBots] / Any games that use horizontal wiimote and tilt as main input for steering/maneuvering

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

[REXE01] / [RX3E01]

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

[N/A - Can't display this on Android]

What's the problem? Describe what went wrong.

[The tilt is not 'level' on initialisation. The emulated Wiimote pulls to the right when not touching any controls using either touchscreen buttons on phone or when mapping the tilt to an analog stick on Xbox controller. This results in vehicles persistently steering to the right and driving in circles.]

What steps will reproduce the problem?

[Configure controls for horizontal driving game (emulated wiimote, no nunchuck), start game, click through menus to begin level/race, don't touch anything (maybe accelerate). Vehicle steers to right and is impossible to play.]

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, present in latest dev release 5.0-13616 (Android)]

Is the issue present in the latest stable version?

[Yes, present in latest stable release 5.0-13178 (Android)]

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 PC specifications? (CPU, GPU, Operating System, more)

[No applicable but Galaxy S21, Android 11]

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

[After testing around 20 historical builds, I pinpointed the changes that caused this. The issue was not present in 5.0-11301 but first introduced in release 5.0-11309 where Wimote emu changes were made. This issue has also been present and fixed in the prior releases: https://bugs.dolphin-emu.org/issues/8209]


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #12930: Problem with pointer & motion control on Steam DeckDuplicate

Actions
Actions #1

Updated by JMC4789 about 3 years ago

  • Assignee set to JosJuice
  • Priority changed from Normal to High
  • Regression changed from No to Yes
Actions #2

Updated by JosJuice about 3 years ago

  • Regression start set to 5.0-11309

Did you set Horizontal Wii Remote in Overlay Controls > Choose Controller?

Actions #3

Updated by Olywa123 about 3 years ago

Hi thanks for the reply. I may have missed that and it certainly helps but still with some issues... What I found was setting the correct wiimote orientation (horizontal) in ‘choose controller’ (and with a mapped physical controller) still resulted in conflicting inputs. A setting I’d definitely not noticed is ‘Overlay Controls>Motion Controls’ (I hadn’t realised the black window was scrollable and it was hidden). This enables me to disable the phone sensors so as to remove the permanent inputs from the gyros and play correctly with a controller.

My personal issue is resolved by this but I do think there is a broader motion input issue...

I believe Dolphin (Android) is registering motion inputs from the gyros as if the phone/tablet was laid flat (i.e. on a table) and not compensating for the fact most people don’t play like this with either their device held in a more upright position (in front of their face) or attached to a controller.

If you try playing Super Monkey Ball (Wii) with emulated Wiimote motion inputs you have to hunch over your device keeping it flat, to move forward at pace you have to tilt your device so far forward that you can no longer comfortably see the screen. Perhaps this is known and/or by design?

Actions #4

Updated by Olywa123 about 3 years ago

Hi thanks for the reply. I may have missed that and it certainly helps but still with some issues... What I found was setting the correct wiimote orientation (horizontal) in ‘choose controller’ (and with a mapped physical controller) still resulted in conflicting inputs. A setting I’d definitely not noticed is ‘Overlay Controls>Motion Controls’ (I hadn’t realised the black window was scrollable and it was hidden). This enables me to disable the phone sensors so as to remove the permanent inputs from the gyros and play correctly with a controller.

My personal issue is resolved by this but I do think there is a broader motion input issue...

I believe Dolphin (Android) is registering motion inputs from the gyros as if the phone/tablet was laid flat (i.e. on a table) and not compensating for the vast majority won't play like this but will hold their device in a more upright position (either in front of their face or attached to a controller).

If you try playing Super Monkey Ball (Wii) with emulated Wiimote motion inputs you have to hunch over your device keeping it flat, to move forward at pace you have to tilt your device so far forward that you can no longer comfortably see the screen. Perhaps this is known and/or by design?

Actions #5

Updated by JosJuice over 2 years ago

  • Subject changed from Emulated Wiimote tilt is incorrect since 5.0-11301 to Add option to rotate/recenter accel/gyro inputs so that phones don't have to be held flat
  • Status changed from New to Accepted
  • Assignee deleted (JosJuice)
  • Priority changed from High to Normal
  • Issue type changed from Bug to Feature request
  • Regression changed from Yes to No
  • Regression start deleted (5.0-11309)
  • Operating system Android added
  • Operating system deleted (N/A)

If you try playing Super Monkey Ball (Wii) with emulated Wiimote motion inputs you have to hunch over your device keeping it flat, to move forward at pace you have to tilt your device so far forward that you can no longer comfortably see the screen. Perhaps this is known and/or by design?

This is the way it was designed. However, 1:1 mapping of motion controls was a feature originally intended for controllers like the DualShock 4, so it wasn't really designed with phones in mind.

Adding a way to change what phone position corresponds to holding a Wii Remote flat makes sense to me as a feature request. (Perhaps on operating systems other than Android as well?)

Actions #6

Updated by Olywa123 over 2 years ago

Thanks JosJuice. Agreed, it makes more sense as a feature request.

Actions #7

Updated by JosJuice about 1 year ago

Actions #8

Updated by DrEthan about 1 year ago

Any chance that this could be added? With steamdecks becoming a huge emulation platform this is pretty vital.

Actions #9

Updated by DrEthan about 1 year ago

Potentially another solution would be to allow us to map a button that when pressed it would set whatever orientation the controller/steamdeck is in currently to be the new flat at runtime.

Actions #10

Updated by Trilyan 11 months ago

It would be awesome to have the option to change the off-set live (maybe when pressing a "recenter" button). This will definitely take motion sensor use on portable devices to the next level.

Actions

Also available in: Atom PDF