Clearer file names and layout; docs/development.md

- steam-keyboard-patch.nix -> vr-keyboard-extra-keys.nix (option
  keyboard.vr.extraKeys), helper.mjs -> xdotool-helper.mjs;
  homeManagerModules.steam-keyboard-patch stays as an alias.
- vr-keyboard: panel.js/unpatch-panel.js/relay.mjs ->
  suggestions-panel/{patch,unpatch}.js + relay.mjs; decoder.js ->
  swipe-decoder.js; build.nix split into dictionary.nix and check.nix.
- modules/lib -> modules/steam-ui-patches/lib (the UI patch library).
- docs/development.md: repository layout (what runs where), runtime names.

Patch names, user services and state files are unchanged.
This commit is contained in:
Pierre Kisters committed 2026-09-29 01:42:34 +02:00
1 parent b3d93e8526
commit 5d15902ba1
40 files changed
+330 -161

No files matched your search

+8 -6
View File
@@ -1,9 +1,10 @@
#!/usr/bin/env node
// check-signatures.mjs: checks offline (no Steam, no browser) that every
// signature in modules/lib/signatures.json still matches the installed Steam /
// SteamVR web UI bundles: module and export signatures exactly once,
// "expects" strings still present (warnings), "stylesheet" signatures exactly
// one file of the bundle's "styles" directory. Run it after a Steam update:
// signature in modules/steam-ui-patches/lib/signatures.json still matches the
// installed Steam / SteamVR web UI bundles: module and export signatures
// exactly once, "expects" strings still present (warnings), "stylesheet"
// signatures exactly one file of the bundle's "styles" directory. Run it
// after a Steam update:
//
// nix shell nixpkgs#nodejs -c node scripts/check-signatures.mjs
//
@@ -20,7 +21,8 @@
// Modules come from webpack-modules.mjs (factory sources as the page's
// Function.prototype.toString sees them). For export signatures the matched
// factory runs in a throwaway VM context where imports and unknown globals
// are inert stubs, and is matched with modules/lib/finders.js.
// are inert stubs, and is matched with
// modules/steam-ui-patches/lib/finders.js.
import { readFileSync, readdirSync, existsSync } from 'node:fs';
import { dirname, join, resolve } from 'node:path';
import { homedir } from 'node:os';
@@ -29,7 +31,7 @@ import vm from 'node:vm';
import { loadBundles, pageFiles } from './webpack-modules.mjs';
const here = dirname(fileURLToPath(import.meta.url));
const libDir = join(here, '..', 'modules', 'lib');
const libDir = join(here, '..', 'modules', 'steam-ui-patches', 'lib');
// ---- arguments -----------------------------------------------------------------
const args = process.argv.slice(2);