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

Rotator controller: Add gamepad/joystick control #1668

Merged
merged 7 commits into from
Apr 24, 2023

Conversation

srcejon
Copy link
Collaborator

@srcejon srcejon commented Apr 24, 2023

Add support for gamepad/joystick control of the Rotator Controller's target and offset.

This uses Qt Gamepad, and so there are two new package dependencies, libqt5gamepad5-dev and libqt5gamepad5.

I have tried making this optional in CMakeLists.txt, however, it seems on Ubuntu, find_package(qt ... OPTIONAL_COMPONENTS Gamepad) reports an error if the gamepad package isn't installed, rather than just setting the FOUND variable to false.

@srcejon
Copy link
Collaborator Author

srcejon commented Apr 24, 2023

Not sure where the libqt5gamepad5-dev dependency for ubuntu2204docker needs to be added. (Have done ubuntu2204prod)

edit: sdrangel-docker/sdrangel/Dockerfile maybe?

@f4exb
Copy link
Owner

f4exb commented Apr 24, 2023

edit: sdrangel-docker/sdrangel/Dockerfile maybe?

Yes I think so.

Edit: done.

@f4exb f4exb merged commit 0f58380 into f4exb:master Apr 24, 2023
@srcejon srcejon deleted the rotator_gamepad branch May 18, 2023 07:49
@vielmetti
Copy link

Not finding this library in Homebrew, resulting in an error in the M1/M2 build logged at #1605 (comment)

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

Successfully merging this pull request may close these issues.

3 participants