-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
platforms/joystick: replace sdl with 0xcafed00d/joystick package #988
Conversation
…ed00d package Signed-off-by: deadprogram <ron@hybridgroup.com>
…ID as is now required Signed-off-by: deadprogram <ron@hybridgroup.com>
Signed-off-by: deadprogram <ron@hybridgroup.com>
Codecov ReportPatch and project coverage have no change.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #988 +/- ##
=======================================
Coverage 71.50% 71.50%
=======================================
Files 88 88
Lines 7352 7352
=======================================
Hits 5257 5257
Misses 1475 1475
Partials 620 620 ☔ View full report in Codecov by Sentry. |
0e2a874
to
7daf724
Compare
…at since it is not handled in the current joystick package Signed-off-by: deadprogram <ron@hybridgroup.com>
Signed-off-by: deadprogram <ron@hybridgroup.com>
Signed-off-by: deadprogram <ron@hybridgroup.com>
Signed-off-by: deadprogram <ron@hybridgroup.com>
22347b2
to
2a352ed
Compare
…erences Signed-off-by: deadprogram <ron@hybridgroup.com>
Signed-off-by: deadprogram <ron@hybridgroup.com>
Signed-off-by: deadprogram <ron@hybridgroup.com>
d := initTestDriver("./configs/xbox360_power_a_mini_proex.json") | ||
_ = d.Start() | ||
d, tj := initTestDriver("./configs/dualshock3.json") | ||
tj.axisCount = 6 |
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.
tj.axisCount = 6 | |
tj.axisCount = 6 // corresponding to the content of json config |
Signed-off-by: deadprogram <ron@hybridgroup.com>
Signed-off-by: deadprogram <ron@hybridgroup.com>
aba55e1
to
22db6a5
Compare
Signed-off-by: deadprogram <ron@hybridgroup.com>
I've now also added the mappings for dualshock4. I don't have any working setup for any other joysticks then these 2 at the moment, but this should handle many people, and the new scanner will help handle the others for people who have those setups. |
@deadprogram nice work, I'm going to merge now! |
Solved issues and/or description of the change
This PR is to address #986 by replacing SDL with the much simpler package https://github.com/0xcafed00d/joystick
Manual test
Already tested Dualshock 3 on both Linux and macOS. Will test Windows this weekend.
Checklist
make test
)make fmt_check
)