mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
fix(ui): B never quits (Steam sends Esc for it), Ctrl+Q does; started from Steam, the hints show the Steam Controller's buttons
This commit is contained in:
1 parent
aee51b9bf1
commit
77f724e547
7 files changed
+23
-7
No files matched your search
@@ -373,6 +373,9 @@ def main():
|
||||
engine = QQmlApplicationEngine()
|
||||
engine.setInitialProperties({"backend": backend, "gamepad": pad,
|
||||
"fullscreen": fullscreen,
|
||||
# Started from Steam: its keys are a Steam
|
||||
# Controller's buttons (desktop layout).
|
||||
"fromSteam": bool(os.environ.get("SteamGameId")),
|
||||
"iconUrl": QUrl.fromLocalFile(os.path.realpath(icon)).toString()})
|
||||
engine.load(os.path.join(HERE, "qml", "Main.qml"))
|
||||
if not engine.rootObjects():
|
||||
|
||||
Reference in new issue
Block a user