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

LibusbDevice: Don't detach kernel drivers on macOS #13318

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

sanjay900
Copy link
Contributor

I was working on updating GCAdapterDriver so it works for more devices, and noted that we would need to skip detaching the kernel driver in LibusbDevice too, much like we already do for GCAdapter.

secretkeysio/GCAdapterDriver#27
I have already added all the PS3 and Wii controllers i can think of, and there is a test build of GCAdapterDriver on that pull request that has these devices included.

Copy link
Member

@jordan-woyak jordan-woyak left a comment

Choose a reason for hiding this comment

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

LGTM. Untested, but it matches what's already being done for GCAdapter.

@OatmealDome
Copy link
Member

Untested as well, but seems fine to me.

I wonder if we should create our own GCAdapterDriver equivalent so that we don't pollute that codebase with not-GC adapter IDs. Anyway, that's a discussion for later.

@OatmealDome OatmealDome merged commit c770e7c into dolphin-emu:master Feb 8, 2025
13 checks passed
@ryanmcgrath
Copy link

I wonder if we should create our own GCAdapterDriver equivalent so that we don't pollute that codebase with not-GC adapter IDs. Anyway, that's a discussion for later.

That might be trickier than one would think unfortunately, but if you ever approach it feel free to ping me in Discord if you wanted a sounding board.

@ryanmcgrath
Copy link

(And GCAdapterDriver actually technically has the entitlement to allow embedding in other applications - I did a POC with Dolphin some years ago but never went further with it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants