mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 03:00:13 +02:00
VR keyboard: the keyboard popup lookup in the finder library
find.keyboardPopup() (finders.js VERSION 3) replaces the same g_PopupManager lookup in the swipe, extra keys and touch typing patches (VERSIONs 29, 24, 4). hub.js keeps its own: it gets no finder library.
This commit is contained in:
1 parent
0908713667
commit
c810df7f5a
5 files changed
+16
-16
No files matched your search
@@ -36,7 +36,7 @@
|
||||
// Steam's events. Debugging: __sfuiSwipeLog, __sfuiSwipePaths
|
||||
// (scripts/vr-keyboard-replay.mjs).
|
||||
((find, sigs, opts, hooks, D, T, C, DICT, P, HUB, F) => {
|
||||
const VERSION = 28;
|
||||
const VERSION = 29;
|
||||
const G = window;
|
||||
const O = opts;
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
return `Steam internals changed, keyboard left stock: ${e.message}`;
|
||||
}
|
||||
|
||||
const popup = [...(g_PopupManager.GetPopups?.() || [])].find((p) => p.window?.document.querySelector('[data-key]'));
|
||||
const popup = find.keyboardPopup();
|
||||
if (!popup) return 'no keyboard popup yet';
|
||||
const doc = popup.window.document;
|
||||
const stamp = `${VERSION}:${P.VERSION}:${HUB?.version} ${JSON.stringify(O)}`; // new code or options: re-attach
|
||||
|
||||
Reference in new issue
Block a user