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

Windows support? #133

Open
qtqgyt opened this issue Jan 2, 2025 · 1 comment
Open

Windows support? #133

qtqgyt opened this issue Jan 2, 2025 · 1 comment

Comments

@qtqgyt
Copy link

qtqgyt commented Jan 2, 2025

Pretty self explanatory.

@qtqgyt
Copy link
Author

qtqgyt commented Jan 2, 2025

When tried to use on windows via WSL2, it complains about:

sudo python3 run_controller_cli.py PRO_CONTROLLER
Traceback (most recent call last):
File "/mnt/c/Users/Collin/Documents/GitHub/joycontrol/run_controller_cli.py", line 328, in
loop.run_until_complete(
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/mnt/c/Users/Collin/Documents/GitHub/joycontrol/run_controller_cli.py", line 284, in _main
transport, protocol = await create_hid_server(factory, reconnect_bt_addr=args.reconnect_bt_addr,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/Users/Collin/Documents/GitHub/joycontrol/joycontrol/server.py", line 45, in create_hid_server
ctl_sock = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_SEQPACKET, socket.BTPROTO_L2CAP)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/socket.py", line 233, in init
_socket.socket.init(self, family, type, proto, fileno)
OSError: [Errno 97] Address family not supported by protocol

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

1 participant