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

Feature request: Virtual joystick device #22

Open
mathiasgredal opened this issue Mar 3, 2022 · 2 comments
Open

Feature request: Virtual joystick device #22

mathiasgredal opened this issue Mar 3, 2022 · 2 comments

Comments

@mathiasgredal
Copy link

I would like to use my Xbox-360 wireless controller on my MacBook, however the wireless reciever doesn't work with MacOS, but it does work on Linux using xboxdrv. Since this driver runs in userspace on top of libusb, it should be quite easy for me to port it to MacOS, as long as there is a way to forward the events to the system. Hence the need for a virtual joystick device.

@a-hurst
Copy link

a-hurst commented Aug 24, 2022

Seconding this request: newer versions of macOS (especially Monterey) have broken support for older Bluetooth controllers that used to work natively (e.g. PS3 controllers, Wii controllers), and the recent changes to the driver security model and migration from kexts to dexts also mean that a lot of existing 3rd-party drivers for popular gamepads (e.g. the open-source 360controller driver for Xbox 360 controllers) are much harder to install and require disabling SIP.

A signed virtual DriverKit joystick/gamepad device driver would provide a perfect compatibility layer for this, providing 3rd party drivers a target to send parsed input events so they can get used by the system.

@kokroo
Copy link

kokroo commented Aug 18, 2024

I am doing this at https://github.com/kokroo/kokrooPAD

I sent out some e-mails to @tekezo for guidance but I have received no response, perhaps it went to his spam folder (I have received a response now).
@mathiasgredal If you would like to join me in these efforts, feel free to reach out. I know how it can be implemented but this is my first time playing with macOS APIs. I am willing to create an Apple developer account and request the entitlements to get our driver signed.

Cheers!

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

No branches or pull requests

3 participants