mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-14 07:00:43 +02:00
screens/tests/relay-buttons-test.c checks relay-buttons.h, built and run by scripts/test-relay-buttons.sh in the dev container like the controller click test (-Wall -Wextra -Werror). Which codes go to the keyboard, the pointer, or nowhere (0x100-0x10f, 0x118-0x15f and BTN_TRIGGER_HAPPY up dropped, KEY_OK up to BTN_TRIGGER_HAPPY keys); a press without the pointer on a visible screen dropped along with its release; a release without a press ignored; a release that still goes once typing or the pointer moved elsewhere; and ft-screens' own releases, after which the relay's find nothing held. It fails against a header whose release needs the pointer, and against one that makes every code from BTN_MISC up a button, as PR #41 did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>