Xbox Cloud Gaming app for PS5 Homebrew
C
kbm: kbmSetCaptured() a no-op on the PS5 and the null backend
Rafael Abud Ferreira2961fcd439e4
diff --git a/src/input/kbm_null.cpp b/src/input/kbm_null.cppindex 40d3475..41148ff 100644--- a/src/input/kbm_null.cpp+++ b/src/input/kbm_null.cpp@@ -1,11 +1,13 @@// SPDX-License-Identifier: GPL-3.0-or-later// Copyright (C) 2026 RafaelNGP// No USB keyboard or mouse read (a build without a kbm backend).+#include "input/input_ext.h"#include "input/kbm.h"namespace xc::input {bool kbmInit(int32_t) { return false; }KbmInput kbmPoll() { return {}; }+void kbmSetCaptured(bool) {}} // namespace xc::inputdiff --git a/src/input/kbm_ps5.cpp b/src/input/kbm_ps5.cppindex 3f0462c..41f18a0 100644--- a/src/input/kbm_ps5.cpp+++ b/src/input/kbm_ps5.cpp@@ -2,6 +2,7 @@// Copyright (C) 2026 RafaelNGP// USB keyboards and mice through libSceKeyboard and libSceMouse (kbm.h).// kbm_null.cpp stands in elsewhere.+#include "input/input_ext.h"#include "input/kbm.h"#include "platform/platform.h"@@ -207,4 +208,7 @@ KbmInput kbmPoll() {return out;}+// The console's mouse has no pointer on screen to hold.+void kbmSetCaptured(bool) {}+} // namespace xc::input