Files
lhns--steam-frame-nix/modules/vr-keyboard-extra-keys/check.nix
T
Pierre Kisters b2babb3859 VR keyboard: Shift+Tab moves the focus backwards
Steam sends Tab as the text "\t" and drops Shift. With Shift, Tab now
goes to the xdotool helper (shift+Tab, ISO_Left_Tab on any keymap); the
suggestions text model resets on it like on Shift+arrows. The helper's
allowlist moves to allowlist.mjs with a test (flake check
vr-keyboard-extra-keys).
2026-09-30 22:53:24 +02:00

7 lines
299 B
Nix

# Tests of the extra keys (flake check `vr-keyboard-extra-keys`): the xdotool
# helper's allowlist (tests/allowlist.test.mjs).
{ pkgs }:
pkgs.runCommand "vr-keyboard-extra-keys-checks" { nativeBuildInputs = [ pkgs.nodejs ]; } ''
node ${./tests/allowlist.test.mjs} ${./allowlist.mjs} | tee $out
''