-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Fix evdev axis reversal #3303
Fix evdev axis reversal #3303
Conversation
|
@kirbyfan64, thanks for your PR! By analyzing the history of the files in this pull request, we identified @hcorion to be a potential reviewer. |
|
Please merge after #3283 |
|
From what I can tell, this won't work if joystick squircling is on (and it's on by default). |
|
It's working with |
|
Strangely, on Tekken 6, when I press down, it registers up (and up registers up). Seems to be the only game with this pb (with keyboard, it is ok). |
|
A new test with (line 474): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes Tekken 6 input
rpcs3/evdev_joystick_handler.cpp
Outdated
|
|
||
| if (revaxis[axis]) | ||
| { | ||
| value = 256 - value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
value = 255 - value; //fixes Tekken 6 input
|
For Squircle: |
|
Now that #3283 is merged, this fixes the missing reversal (without squircle), Line 103: |
|
@kirbyfan64 any chance to see this corrected so that it can be merged ? Thks |
|
For the squircle pb with axis reversal, this is working: @kirbyfan64: do you want me to create a pull request ? I don't know if you're still interested (or simply have time) in this. That's my corrected file: |
|
@toccata10 Sorry! I totally forgot about this. I pushed a new version that should work with both squircle and normal modes. |
|
Works fine now on my system. Thanks. |
@toccata10 See if this works now.