Project

General

Profile

Actions

Emulator Issues #13280

open

Special values (NaN/Infinity) in input expressions are not handled. e.g. division by zero

Added by Gloidz 11 months ago. Updated about 1 month ago.

Status:
Questionable
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

Using Dolphin 5.0-19368 from flathub, under ubuntu, and I love it, thanks! ;)

I think I found a bug in gamepad setup.
I (really) need to set x=x/(1/x) for my left analog joystick (cf screen shot D-conf). It's a excellent way to use old/bad gamepad.

But I can't set it for the 4 directions. If I do so, that break "calibrate" function, and I don't see anything in this window (named " Étalonner " in screenshots). Trying in game also don't work.
But in configuration window (screenshot d-conf), every things seem ok, the result is as expected, all fine, what ever the configuration.

In screenshot d-1, Right and Down don't work any more, what ever I configure it. Up and Left works as expected, as you can see in screenshot d-2.

Trying many configuration, it's always the same: all fine in "right clic conf" (D-conf) and chaotic result in calibrate window (1st game pad window).

I'm sorry, I can't test if the issue is present in the latest development version because it's not easy for linux, that's why I use flatpack. I also suggest to add flatpack link in installation/linux section in dolphin documentation.

Best,


Files

d-2.png (17.7 KB) d-2.png Up and Left (in that case) Gloidz, 06/15/2023 11:51 AM
d-conf.png (26.3 KB) d-conf.png fonction I want to use Gloidz, 06/15/2023 11:51 AM
d-1.png (17.5 KB) d-1.png Calibrate don't work for Right and Down Gloidz, 06/15/2023 11:51 AM
Actions #1

Updated by Gloidz 11 months ago

Controller setup as "standard controller".
Using SDL. (my possibility are evdev, ximput2 or sdl)

Actions #2

Updated by Billiard26 about 1 month ago

  • Subject changed from Can't setup analog joystick correctly - unexpected reaction to Special values (NaN/Infinity) in input expressions are not handled. e.g. division by zero
  • Status changed from New to Questionable
  • Operating system OS X added
  • Operating system deleted (N/A)

x/(1/x) is likely dividing by zero.
Weird things are to be expected.

I don't know if there is much we should be doing about this other than just converting invalid numbers to zero?

Actions #3

Updated by Billiard26 about 1 month ago

  • Operating system N/A added
  • Operating system deleted (OS X)
Actions

Also available in: Atom PDF