-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Joystick Interposer Fixes for SDL, wine, Retroarch and RPCS3 #173
Open
danisla
wants to merge
5
commits into
main
Choose a base branch
from
fix-js-interposer
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+833
−246
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
de3c25e
to
b28e51f
Compare
b28e51f
to
64dfef9
Compare
c54628f
to
b0ec08c
Compare
@danisla Feel free to switch from Draft PR if you are ready. |
That is in order for the near future. I know the source of error. |
Ok maybe we’ll just leave it disabled for now and you can re-enable it the build steps later. |
Anyways, when you are ready, press "Ready for review" and I'll directly make necessary edits. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
open64
and makes socket non-blocking when added to anepoll
./dev/input/event*
joystick devices.SDL_JOYSTICK_DEVICE
workaround for SDL apps is no longer needed.Application Specific
Retroarch
To use with retroarch, edit your
retroarch.cfg
(at~/.config/retroarch/retroarch.cfg
) and set:RPCS3
Select
![Screenshot from 2025-02-07 00-08-58](https://private-user-images.githubusercontent.com/323725/410822217-fa9ef87f-f098-4366-b27e-73265286b5f9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NjI3OTIsIm5iZiI6MTczODk2MjQ5MiwicGF0aCI6Ii8zMjM3MjUvNDEwODIyMjE3LWZhOWVmODdmLWYwOTgtNDM2Ni1iMjdlLTczMjY1Mjg2YjVmOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QyMTA4MTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iZGMxZDA2MTBmZGVmODU5MjYzZTRhYzVmOWRhMWUxNjc1ZDY3ZTU2ZmE1ZGI5MGRkYTc5MDEwZDI2MTkxNmQ2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.T87-ssM-sL-jyvxGoJUnQHdf5ckVyhNc0NpyvBLNWTY)
SDL
as controller handler then selectSelkies Controller 1
from the device list.Wine
Run
![Screenshot from 2025-02-07 00-10-19](https://private-user-images.githubusercontent.com/323725/410822647-1db549e9-3945-4596-9230-2a4a840b83e0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NjI3OTIsIm5iZiI6MTczODk2MjQ5MiwicGF0aCI6Ii8zMjM3MjUvNDEwODIyNjQ3LTFkYjU0OWU5LTM5NDUtNDU5Ni05MjMwLTJhNGE4NDBiODNlMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QyMTA4MTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wNGJhMzEyOTk2NzU0NmYzY2EzNWExYWMzNmFiNmY4NDAyN2QyYWU1NTFhY2NkMjc2MmIyZWRjM2FhYjJlZmUwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.uz_HfVNZXQ0GLi9AEU7itmmOCkdIxO9h4YGepBpeYao)
wine control
and then open theGame Controllers
app to test joystick support.Current work in progress: