-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
How to connect WSL2 Ubuntu 22.04 to Windows Joystick #935
Comments
|
@rbhodges / @dorssel I'm trying to do the same and have found that the WSL2 kernel doesn't support joysticks by default. You'll need to rebuild your kernel with different settings. There is a long conversation about this in this WSL issue. I was able to get this working for another user, but I'm still having issues since I can see the joystick is mounted, but don't receive events from it. But I've been looking for answers and ran into your issue.... so I hope you find it helpful. |
Thanks. If you get the joystick working, can you please give me details how
you did it?
Thanks,
…On Mon, Jun 3, 2024 at 6:57 PM Tim Hayes ***@***.***> wrote:
@rbhodges <https://github.com/rbhodges> / @dorssel
<https://github.com/dorssel> I'm trying to do the same and have found
that the WSL2 kernel doesn't support joysticks by default. You'll need to
rebuild your kernel with different settings. There is a long conversation
about this in this WSL issue
<microsoft/WSL#7747?notification_referrer_id=NT_kwDOAAXAP7EyNzI1NTUxNDEyOjM3Njg5NQ>.
I was able to get this working for another user, but I'm still having
issues since I can see the joystick is mounted, but don't receive events
from it. But I've been looking for answers and ran into your issue.... so I
hope you find it helpful.
—
Reply to this email directly, view it on GitHub
<#935 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABV4XZRZOXTMMKOSVSAX2JTZFUNHZAVCNFSM6AAAAABHCYF3B6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBWGQZDCNBTGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
You could try following what we did in the linked issue, which was cloning the repo and rebuilding your WSL kernel. I'm having issues, but it worked for the other guy. You could try that right now if you want. |
@rbhodges My Xbox controller still isn't working, but my old generic GameSir G3 seems to be functioning now and I'm going to roll with that. If you want to run through the steps I did, read the comment that I posted here: The gist is that I ran through the top steps of of the readme in this WSL2-Linux-Kernel fork. However that fork is old, so I made my own and applied the same changes. I'm not a Linux expert though, so use it at your own risk. Or better yet, have a look at the changes I made in my last commit. If you follow the directions properly, you can always revert the change by removing the configuration from your Window's I hope this helps. |
I tried following directions posted for Ubuntu 20.04 but they don't seem to work. Is it possible to send detailed instructions for Ubuntu 22.04 running under WSL2 on Windows 10?
Thanks,
Richard
rbhodges@gmail.com
The text was updated successfully, but these errors were encountered: