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

USB: Fix DJ Hero Turntable Labels #9183

Merged
merged 1 commit into from
Jul 7, 2023
Merged

USB: Fix DJ Hero Turntable Labels #9183

merged 1 commit into from
Jul 7, 2023

Conversation

sanjay900
Copy link
Contributor

@sanjay900 sanjay900 commented Jul 7, 2023

Description of Changes

Update some of the labels used for DJ Hero Turntable Emulation
Swap the multiplier from integer to float
Fix turntables being scaled by 255 instead of 128

Rationale behind Changes

A few people contacted me on one of the DJ Hero Discord servers and pointed out that the labels I had used were somewhat confusing and in a few places they were actually wrong.
I have gone for clockwise and counterclockwise, as the turntables can be in any orientation, and due to that it is possible for up and down to be a bit confusing in different orientations.
Someone also tested with a Wii Turntable with a Raphnet adapter, and it turns out those need to be given a fractional multiplier, as the turntable range from those is too large and the game doesn't handle it correctly.
Since the positive and negative values are bound seperately, the turntable needs to be scaled by 128 not 255

Suggested Testing Steps

Turn on DJ Hero Turntable emulation and look at the clarified labels, and confirm that the multiplier is now float and not integer.

@github-actions github-actions bot added the USB label Jul 7, 2023
@sanjay900 sanjay900 marked this pull request as draft July 7, 2023 01:20
@sanjay900 sanjay900 force-pushed the master branch 2 times, most recently from 7e90513 to ca4a38f Compare July 7, 2023 01:26
@sanjay900 sanjay900 marked this pull request as ready for review July 7, 2023 01:29
@stenzek stenzek merged commit 0716abd into PCSX2:master Jul 7, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants