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

evdev_gun: enable libudev on FreeBSD #13305

Merged
merged 2 commits into from Jan 28, 2023
Merged

evdev_gun: enable libudev on FreeBSD #13305

merged 2 commits into from Jan 28, 2023

Conversation

jbeich
Copy link
Contributor

@jbeich jbeich commented Jan 28, 2023

On Linux -ludev is added implicitly via bundled hidapi but on FreeBSD it needs to be explicit.

target_link_libraries(3rdparty_hidapi INTERFACE hidapi-hidraw udev)

Note, FreeBSD >= 13 supports hidraw(4) but it's not used by hidapi yet.

jbeich and others added 2 commits January 28, 2023 09:38
libudev is supported on DragonFly and FreeBSD, similar to libevdev.
NetBSD and OpenBSD can simply disable both via -DUSE_LIBEVDEV=OFF.

This reverts commit 337ee77.
@AniLeo AniLeo added the OS: BSD label Jan 28, 2023
@AniLeo AniLeo merged commit a748508 into RPCS3:master Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants