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

populate the PS3 analog values for buttons #840

Merged

Conversation

bsstephan
Copy link
Contributor

PS3 face buttons are technically analogs like L2/R2. they were declared in the payload but never used, but apparently Marvel vs. Capcom 2 uses the analog values, so use the digital button state to populate the fake "analog" values and get the game working.

this also confirms the order of the axes declared in HIDDescriptors.h, which is nice.

this ALSO means MvC2 (and who knows what else) has a predefined notion of what's in the payload bytes despite the interface descriptor, so that's interesting, but whatever

I WANNA TAKE YOU FOR A RIDE

Fixes #785

PS3 face buttons are technically analogs like L2/R2. they were declared
in the payload but never used, but apparently Marvel vs. Capcom 2 uses
the analog values, so use the digital button state to populate the fake
"analog" values and get the game working.

this also confirms the order of the axes declared in HIDDescriptors.h,
which is nice.

this *ALSO* means MvC2 (and who knows what else) has a predefined notion
of what's in the payload bytes despite the interface descriptor, so
that's interesting, but whatever

I WANNA TAKE YOU FOR A RIDE

Fixes OpenStickCommunity#785
Copy link
Contributor

@arntsonl arntsonl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good! doesn't change anything on PC and that's great it fixes PS3/MvC2

@arntsonl arntsonl merged commit f2d1fae into OpenStickCommunity:main Feb 17, 2024
30 checks passed
This pull request was closed.
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

Successfully merging this pull request may close these issues.

PS3 port of MvC2 doesn't work on our firmware (as of 0.7.6)
2 participants