Skip to content

RDKEMW-13366: Add game controllerdb dependency to wpe-backend#542

Open
ganeshprasads wants to merge 2 commits intodevelopfrom
topic/RDKEMW-13366
Open

RDKEMW-13366: Add game controllerdb dependency to wpe-backend#542
ganeshprasads wants to merge 2 commits intodevelopfrom
topic/RDKEMW-13366

Conversation

@ganeshprasads
Copy link
Contributor

Reason for change: Add game controller database as runtime dependency for wpe-backend package configuration
Test Procedure: Verify functionality with gamepad test app
Risks: Low
Priority: P2
Signed-off-by: Ganesh prasad Sahu [email protected]

Copilot AI review requested due to automatic review settings February 11, 2026 04:49
@ganeshprasads ganeshprasads requested review from a team as code owners February 11, 2026 04:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the libmanette controller database as a dependency for the wpe-backend-rdk Yocto recipe when the manettegamepad PACKAGECONFIG is enabled, aiming to ensure gamepad mappings are available at runtime.

Changes:

  • Extends PACKAGECONFIG[manettegamepad] to include a controller DB runtime dependency.
  • Updates wpe-backend-rdk_0.5.bb recipe configuration for manette-based gamepad support.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

PACKAGECONFIG[gamepad] = "-DUSE_GENERIC_GAMEPAD=ON,-DUSE_GENERIC_GAMEPAD=OFF,"
PACKAGECONFIG[headless] = "-DUSE_BACKEND_HEADLESS=ON -DUSE_INPUT_LIBINPUT=OFF,-DUSE_BACKEND_HEADLESS=OFF,"
PACKAGECONFIG[manettegamepad] = "-DUSE_LIBMANETTE_GAMEPAD=ON, -DUSE_LIBMANETTE_GAMEPAD=OFF, libmanette"
PACKAGECONFIG[manettegamepad] = "-DUSE_LIBMANETTE_GAMEPAD=ON, -DUSE_LIBMANETTE_GAMEPAD=OFF, libmanette, libmanette-controllerdb"
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PACKAGECONFIG[manettegamepad] runtime deps (the 4th field) are applied to RDEPENDS:${PN}. However the image/packagegroup pulls in wpe-backend-rdk-platform-plugin (not ${PN}), and ${PN} is allowed to be empty here. As a result, libmanette-controllerdb may not be installed at runtime when only the platform-plugin package is installed. Consider adding libmanette-controllerdb to RDEPENDS:${PN}-platform-plugin (conditionally when manettegamepad is enabled) instead of (or in addition to) using the 4th PACKAGECONFIG field.

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings February 11, 2026 05:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

RDKEMW-13366:Move game controller database to middleware layer

2 participants