mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 01:00:13 +02:00
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).
7 lines
299 B
Nix
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
|
|
''
|