mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
SDL3-backed gamepad manager polls at 60Hz, handles hotplug, exposes battery/rumble/LED per device. Game launcher aggregates XDG desktop entries, Steam appmanifests, and Flatpak into a single sorted model. Game Center uses the new model instead of folio's search model. D-pad/A/B/Y navigate and launch. Guide button toggles the overlay. Battery and controller status shown in the HUD.
24 lines
550 B
CMake
24 lines
550 B
CMake
# SPDX-FileCopyrightText: 2026 Marco Allegretti
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
find_package(SDL3 REQUIRED)
|
|
|
|
ecm_add_qml_module(gamingshellplugin URI org.kde.plasma.private.mobileshell.gamingshellplugin GENERATE_PLUGIN_SOURCE)
|
|
|
|
target_sources(gamingshellplugin PRIVATE
|
|
gamepadmanager.cpp
|
|
gamepaddevice.cpp
|
|
gamelauncherprovider.cpp
|
|
)
|
|
|
|
target_link_libraries(gamingshellplugin PRIVATE
|
|
Qt::Core
|
|
Qt::Qml
|
|
Qt::Quick
|
|
KF6::I18n
|
|
KF6::Service
|
|
KF6::CoreAddons
|
|
SDL3::SDL3
|
|
)
|
|
|
|
ecm_finalize_qml_module(gamingshellplugin)
|