Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controls / Analog Arcade Gun, no moving with inputs #1881

Closed
AngeloScipione opened this issue Sep 22, 2024 · 7 comments
Closed

Controls / Analog Arcade Gun, no moving with inputs #1881

AngeloScipione opened this issue Sep 22, 2024 · 7 comments

Comments

@AngeloScipione
Copy link

Games tested: Lethal enforcers, Jurasic Park, Terminator II.
Software: Retroarch core, 1.19.1 - FinalBurn Neo (v.1.0.0.03)
Hardware: Xbox 360 controller (PC usb).
Configuration: Device type as Analog Arcade Gun. Setting every direction of left stick with "fakes inputs".

Performance expected: When you are moving stick, the cross is moving. If you aren't moving, the cross is in the center. If you move a bit to any direction a mantain, cross move a bit to this direction and mantain in this position.

Performance saw: Nothing. Always in the center,

Feature expected: If cross work with a Xbox 360's gamepad, it can be used with Dolphin Bar in mode 3 because Retroarch detects IR sensor as a stick (with previous configuration: libretro/retroarch-joypad-autoconfig#1196).

@barbudreadmon
Copy link
Collaborator

barbudreadmon commented Sep 22, 2024

Setting every direction of left stick with "fakes inputs".

I don't understand this part.

I just tried lethalen, booted the game, went into Quick Menu > Controls, changed to arcade gun, went back to the game, it worked.

It seems like a setup issue on your side, maybe it has something to do with that "Setting every direction of left stick with fakes inputs" i don't understand, or maybe it's something else, either way the core is working as expected.

@barbudreadmon
Copy link
Collaborator

barbudreadmon commented Sep 22, 2024

Oh, i finally understood, you tried remapping.

You don't need to remap anything, your left stick will work properly right after changing the device type.

It seems i forgot to set the input descriptors for that device type, so Quick Menu > Controls is listing some non-working dpad inputs instead of the working analog inputs. I now understand your confusion, sorry about that.

@barbudreadmon
Copy link
Collaborator

I just pushed a fix for the descriptors, thanks for the report.

@AngeloScipione
Copy link
Author

I'm late. I have seen you resolved, but this it's a confirmation of remapping:

imagen

@barbudreadmon
Copy link
Collaborator

Again, you didn't need to remap anything, it worked as soon as you changed device type.

@AngeloScipione
Copy link
Author

AngeloScipione commented Sep 22, 2024

Again, you didn't need to remap anything, it worked as soon as you changed device type.

Yeah, I know now... I tried to explain my original post. I'm sorry.

After some investigation I have detected something else:

  • If I broke (cross no moving) Game Remap File (next point), I must "Remove Game Remap File" or "Reset Input Mapping" to restore Analog Arcade Gun's performance.
  • If anything is remapped in the left stick, Remap File is corrupted.
  • Also, when I have "Analog to Digital Type" as "Left Analog" or "Left Analog (Forced)", Device Type "Analog Arcade Gun" doesn't work. Otherwise, It works with "none", "Right Analog" and "Left Analog (Forced)"; but only work with left stick. If I broke a Game Remap File, it doesn't bother change anything... It's freeze.

@barbudreadmon
Copy link
Collaborator

Those are all pure frontend features and not things related in any way to our core.
You should probably report the issues you found at https://github.com/libretro/RetroArch.

I'll close if you have no other questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants