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

HID support on macOS #2774

Closed
rom1v opened this issue Nov 13, 2021 · 1 comment
Closed

HID support on macOS #2774

rom1v opened this issue Nov 13, 2021 · 1 comment

Comments

@rom1v
Copy link
Collaborator

rom1v commented Nov 13, 2021

#2632 added support for HID keyboards, using libusb. It is currently only supported on Linux (because it just works).

If someone knows how to make it work on macOS, your help is welcome.

You must enable the feature for all platforms:

diff --git a/app/meson.build b/app/meson.build
index 7f675035..ab035bf8 100644
--- a/app/meson.build
+++ b/app/meson.build
@@ -72,7 +72,7 @@ if v4l2_support
     src += [ 'src/v4l2_sink.c' ]
 endif
 
-usb_support = host_machine.system() == 'linux'
+usb_support = true
 if usb_support
     src += [
         'src/usb/aoa_hid.c',

Then, if you manage to make it wok, please submit a PR.

@rom1v
Copy link
Collaborator Author

rom1v commented Feb 17, 2022

Please test #3031.

@rom1v rom1v closed this as completed in 3320249 Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant