Project

General

Profile

Actions

Emulator Issues #6427

closed

[Wiimote Emulation] Multi-key action problem

Added by psychok9 almost 11 years ago.

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

0%

Operating system:
N/A
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

Do not attach files to this issue. Upload them to another site and
link here. Use imgur.com for images.

Have you searched the issue tracker for a similar issue?
This http://code.google.com/p/dolphin-emu/issues/detail?id=1592#makechanges%29,
but the bug come back again (I've tested 3.x versions)

Game Name?
"A Boy And His Blob"

Game ID?
SBLP5G

What went wrong? What did you expect to happen?
No response is received from the RIGHT direction push action.
I/You can't select right black jellybean on the game.

What steps will reproduce the problem?

  1. In Wiimote config, emulate a Nunchuck or a Classic Controller by keyboard
  2. Keep one key being held down (eg. Y/Z), then push the stick to RIGHT
    direction (no matter which key it is mapped to on keyboard)

What version of Dolphin were you using (please test the latest version
from http://dolphin-emu.org/download first, 3.5 or 3.5-367 are not valid
tests!)?

3.x versions (3.0, 3.5, 3.5-1607-x64)

64 or 32 bit Dolphin?
64

What Operating System were you using and what are your hardware
specifications?

Windows 8 x64, Intel i3770k, Radeon 5850 Toxic, AsRock Z77 Extreme 6,
normal usb keyboard & mouse.

Thanks a lot.

Actions #1

Updated by MayImilae almost 11 years ago

What you describe I could not reproduce on my system. Pressing right while holding other keys worked perfectly fine, and there was no difference for me between 3.5 and 3.5-1593. Are you suuuure it isn't a hardware issue?

Actions #2

Updated by psychok9 almost 11 years ago

Yeah, I've found other users with the same problem on the forum.
Have you tested "A Boy And His Blob" on Dolphin 3.5 with emulated Wiimote?

Actions #3

Updated by psychok9 almost 11 years ago

This is my input configuration (default, emulated wiimote and emulated nunchuck).
A workaround is use the mouse for the nunchuck, (for select right jelly bean) but isn't playabale.
All others beans are selectable.

Actions #4

Updated by psychok9 almost 11 years ago

Dolphin 2.0 crash very often, but the bug is fixed on it!

This is the previous report, fixed apparently only for some revisions and come back on 5xxx svn(source: dolphin forums).

ayuanx

OK, I think I got the answer finally.

First of all, this is more like a "Game Issue", so the Analog Stick Emulation in
Dolphin is just fine (in some sense).
But there is yet a slight behavioral difference on initialization between a keyboard
emulated stick and a true joypad stick.

With a keyboard emulated stick, the center values of X-axis & Y-axis are always 0x80.

But with a true joypad stick (SDL interface), after initialization the center values
of X-axis & Y-axis are both 0x0000 (convert to 8bit 0x80), and once you have touched
the stick, SDL will immediately change the center values of X-axis & Y-axis to 0xFFFF
(convert to 8bit 0x7F).

Unfortunately this wii game "A Boy And His Blob" somehow utilizes this
first-time-touch-transition feature to recognize a true analog stick (dunno if it is
intentional or a game bug), which consequently incapacitates a keyboard emulated
stick. :(

To test or verify it yourself, modify file:

Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp
-- line 973 --------

            if (g_Config.Nunchuck.Type == g_Config.Nunchuck.ANALOG1)
            {
                    //_ext.jx = _Lx;
                    //_ext.jy = _Ly;
                    _ext.jx = (_Lx==0x7F) ? 0x80 : _Lx;
                    _ext.jy = (_Ly==0x7F) ? 0x80 : _Ly;
            }

This will eliminate the first-time-touch feature of a true joypad stick and make it
crippled in game "A Boy And His Blob" (unable to select the jellybean on the right).

Dunno if there is any other game that utilizes this first-time-touch feature ...

Actions #5

Updated by psychok9 almost 11 years ago

With version 2.0, going forward with the levels I ran into problems with key mappings (reverse on select jellybeans, some jellybeans on angle not selectables), also according to the save that I load on the game.

Actions #6

Updated by john.s.peterson almost 11 years ago

Changing the Nunchuk stick axis from center

This problem is solved in the commit "Changing the Nunchuk stick axis from center" that's described in https://github.com/mirror/dolphin-emu/pull/1#issuecomment-21289093

Actions #7

Updated by MayImilae almost 11 years ago

John Peterson, in that link you state:

does "Changing the Nunchuk stick radius" fix http://code.google.com/p/dolphin-emu/issues/detail?id=6427?
No because: it's not related to the stick radius

By your own words, this problem has not been solved. Also, I cannot find any commit with these changes in https://changes.dolphin-emu.org/

Actions #8

Updated by Billiard26 over 10 years ago

  • Status changed from Questionable to Fixed

I don't think that SDL comment made any sense.
I can select the "black jellybean" just fine.
I will assume this is fixed now that the stick as a default "radius" of 70.

Actions

Also available in: Atom PDF