lucasteles / InputDisplay

Fighting game training-mode inputs overlay ⬇️↘️➡️+👊
https://obsproject.com/forum/resources/input-display.1850
GNU General Public License v3.0
16 stars 1 forks source link

Wrong inputs when controller is set to no SODC cleaning. #2

Open Chinta03 opened 6 months ago

Chinta03 commented 6 months ago

Description: When the controller is set to no SOCD cleaning in order to display on stream the actual inputs on the hitbox controller, the Input Display application does not always show the proper input.

Also a lack of feature to pick which SOCD cleaning to use.

image

image

Prerequisites

Reproduction steps

  1. Plug the controller with no SODC cleaning mode
  2. Press the following inputs: 2.1 Left + right 2.2 Left + Up + Down

Actual results: Some inputs combo result in the wrong input in the Input Display.

Expected result: Show the right input according to the SOCD cleaning rule.

lucasteles commented 6 months ago

Thanks for the feedback.

I just got a leverless stick with UFB, I will add a SOCD cleaning option and fix the display

lucasteles commented 6 months ago

@Chinta03 I just fixed it. You can test in the latest release.

[!NOTE] I probably should evolve the view for SOCD Bypass on multiple opposing inputs. But for now, it is at least showing them correctly.

Chinta03 commented 6 months ago

Hey @lucasteles, I just tested your new v0.5.1 build and it's still an issue on my side. See the gif below.

SODC_issue Side note: Windows controller propreties isn't showing the proper inputs either.

I am using a Universal Fighting Board Fusion, set to Controller (XInput STANDARD GAMEPAD) mode. From what I read, only XInput mode allow SOCD to be displayed. image

SODC in the InputDisplay Config to SOCD: Neutral. image

And I am running Windows 10 if this can help.

Cheers!

lucasteles commented 6 months ago

@Chinta03 I see. I've tested before with a pad (using a d-pad + analog) to validate the SOCD clean modes. In which mode do you connect the board (which buttons did you hold) on the PC?

The app reads the inputs as Windows does, that's the problem, using my UFB I was able to replicate it.

I need some time to investigate how to bypass this

UPDATE: The inputs are wrong at SDL level SDL_GameControllerGetButton is returning the wrong DPad buttons (like Windows config)

Chinta03 commented 6 months ago

For my setup. I'm not using any of the Analog inputs, but only the "DPAD" inputs to press opposing directions. The input mode is "XInput STANDARD GAMEPAD" mode. I tested with some other modes and not all modes could register opposing directions.

lucasteles commented 6 months ago

@Chinta03 how did you set this mode up? I could not find it in the Brook docs.

Is it any of these?

image
Chinta03 commented 6 months ago

@lucasteles That would be the XBOX 360 mode, so connecting the USB while holding 3P. image