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

Support strong and weak vibrations for cocoa input driver #15300

Closed
DamianPereira opened this issue May 19, 2023 · 1 comment · Fixed by #16431
Closed

Support strong and weak vibrations for cocoa input driver #15300

DamianPereira opened this issue May 19, 2023 · 1 comment · Fixed by #16431

Comments

@DamianPereira
Copy link

DamianPereira commented May 19, 2023

Description

In games like Metal Gear Solid, there are 2 vibration strenghts, you can check it out on the options, where there is a vibration test with both strong and weak options.

Expected behavior

Weak and strong vibrations should feel different. Duckstation correctly has weak and strong vibrations, but libretro with swanstation core does not. I believe this is related to the libretro input driver, and not to the core. Duckstation uses SDL as the input driver, and maps large and small motors as SDL/LargeMotor and SDL/SmallMotor. But my retroarch-metal version uses cocoa input driver.

Actual behavior

Both vibrations are what in duckstation happen when you test strong vibration (or even more, I think it's spinning both motors at the same time)

Steps to reproduce the bug

  1. Open Metal Gear Solid USA ROM
  2. Go to options menu
  3. Go to vibration test, and test with both weak and strong vibrations

Bisect Results

I don't think it makes much sense to Bisect, this was probably never supported, but I can try any specific version if it might help.

Version/Commit

This is retroarch-metal on an m1 mac. Version in system information shows as GIT_VERSION, about retroarch shows 1.15, and brew shows version as 1.15 as well.

Environment information

  • OS: Mac OSX Ventura
  • Compiler: Running binaries from brew
@Buzhanin
Copy link

Buzhanin commented Apr 8, 2024

It's not a problem of cocoa input driver. This driver is responsible for mouse and keyboard input.
The problem is in mfi controller driver.

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

Successfully merging a pull request may close this issue.

3 participants