Commit Graph
20 Commits
Author SHA1 Message Date
Storm Dragon 069adb62df Merge hunter into testing 2026-11-24 19:38:14 -05:00
Storm Dragon 89043dc58b Changed binding to toggle touch screen mode. 2026-11-24 19:30:07 -05:00
ChaseandClaude Opus 5.5 e68d2fa440 Add touch screen support
A blind user can now run the desktop with the touch screen as the only
input, in the style of TalkBack, VoiceOver and NVDA touch. It is off by
default: "Use the touch screen with gestures" in preferences, the
"Touch screen" quick setting, or Cthulhu+Ctrl+Alt+T (toggle-touch-screen).

Input: internal/platform/evdev reads the touch screen from the Linux input
layer in pure Go and grabs it with EVIOCGRAB while touch is on, so no other
program sees touches until it is turned off. It needs read access to
/dev/input (the input group, as Fenrir already needs); Cthulhu never uses
sudo. internal/touch recognizes taps, double and triple taps, holds, double
tap and hold, flicks, two finger rotation and up to ten fingers.

Gestures send Cthulhu's keyboard commands through the normal command
dispatch. Modes, chosen with a three finger tap, each have their own rotor:
navigation (default: items, then scroll, windows, workspaces or
notifications), text (lines, words, characters), browse (page order, then
element types; entered automatically on web pages), object (tree) and
speech settings. Exploring speaks what is under the finger and moves object
review there; double tap activates. docs/touch-support.md has the full
gesture table, design, testing notes and open issues.

Supporting changes:
- Object review gains next and previous item in reading order, skipping
  unnamed containers, and object-activate, which runs the default action of
  the object of interest. Its results no longer need a known focus, because
  a touch user may never produce a focus event.
- browserModeController exposes Browsing for other goroutines.
- internal/i3command sends i3 commands; internal/i3ipc stays observe-only.
- X11 helpers find the client under a point and send XTest clicks and keys.
  The window lookup releases the X11 guard before the XRes fallback, which
  takes the guard itself; a native test reproduces the old deadlock.
- Mouse review stays quiet for one second after touch input.

Tested live on a Lenovo Yoga 7 2-in-1 14AKP10 (Wacom HID 53FC, ten touch
points) under i3, MATE and in Brave, Thunar and GTK dialogs. Not yet
handled: the lock screen, rotation and multiple monitors, pass-through, and
touch typing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 19:09:45 -05:00
lilmike a34d7e70c8 More capabilities for tentacles, for an upcoming one 2026-11-23 08:25:36 -08:00
Storm Dragon 5dfa038706 Adopt common v0.8.0 and preserve canceled hardware settings 2026-11-16 20:10:47 -05:00
Storm Dragon 09e9570c66 Use shared quick settings and migrate speech values to the SSIP scale 2026-11-15 12:30:20 -05:00
hjozwiak ac7f7acc43 Fix Wayland internal UI lifecycle edge cases 2026-11-11 09:05:10 -05:00
ak47 64f60fe4e8 Honor Num Lock during Remote keyboard capture
Forward numeric keypad identities with Num Lock enabled and preserve held-key pairing across lock changes. Suppress local lock feedback during remote capture so it cannot interrupt incoming speech. Add debug speech and capture-end diagnostics, expand private keypad checks, and repair the suspension probe source list.

Validated affected Go packages, focused remote speech race checks, the private X11 Remote input harness, and a reader build. Live physical keyboard, audible PowerShell speech, Braille, and disconnect-cause verification remain pending; the active reader session was left running.
2026-11-07 22:37:39 -05:00
ak47 4c95c9f278 Add global command bypass with Cthulhu+Z 2026-11-07 22:07:03 -05:00
ak47 64440fbb78 Add Mumble message review shortcuts 2026-11-07 19:59:23 -05:00
Chase CichorzandClaude Opus 5.5 6867d901b2 Support Remote browser and media keys and connection history UI
Accept the eighteen browser, volume, media and launch identities in the input vocabulary and both SDKs. Exercise media-key capture on the private Xorg harness, and permit only the new remember-host checkbox in the connection form integration test.

Validated: affected-package race tests, Tentacles make check, private native_remote_input.py and native_remote_keys.py. Physical input, live peer interoperability, speech and Braille acceptance remain pending.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 21:17:01 -05:00
Chase CichorzandClaude Opus 5.5 1c8ec3ce10 Inject Remote lock keys instead of retiring keyboard input
Refusing Caps, Num and Scroll Lock retired all remote input, so a
controller using Caps Lock as its screen-reader modifier lost keyboard
control on the first press. Lock keys are now owned like other keys and
released once at retirement without another toggle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:06:38 -05:00
Chase CichorzandClaude Opus 5.5 c234cb82a8 Add Xorg Remote controller capture with a core F11 escape
The Xorg command owner gains an exclusive Remote capture mode. Native
transitions pass through the repeat normalizer and capture router;
forwarded keys leave as remote.input events, Remote's own shortcuts are
dispatched locally, and F11 ends capture on the X thread. Reader policy,
overflow or inconsistent input also end it. Ending releases forwarded
keys first and keeps the grab until held keys are released. Local key
echo is suppressed during capture. The app attaches the owner to
sessions installed with keyboard-capture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:06:38 -05:00
Chase CichorzandClaude Opus 5.5 c1333c2fdb Route quarantined Remote capture and balance bypass modifiers
Add RemoteCaptureRouter for normalized controller capture. Ordinary keys
and Cthulhu/NVDA modifier chords are forwarded; only a required core
escape chord and local chords derived from resolved bindings stay local.
A local chord first releases forwarded modifiers remotely; a later
forwarded key presses still-held ones again. Releases of local or
withdrawn keys are consumed, and retirement reports physically held keys
whose releases the native owner must swallow. No production caller.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:06:38 -05:00
Chase Cichorz 6b3aa80138 Normalize captured autorepeat for quarantined Remote 2026-11-06 14:30:43 -05:00
ak47 cd9ae05bbe Add quarantined Xorg destination-key ownership and cleanup 2026-11-05 21:56:14 -05:00
Storm Dragon 01f50c17e8 Fenrir's emoji ported to cthulhu. 2026-10-29 19:20:29 -04:00
Storm Dragon b232c1eebb Fix for repeating in some instances, e.g. pidgin. 2026-10-27 19:40:17 -04:00
Storm Dragon eb5b2038d6 Some echo tests added. 2026-10-27 00:40:49 -04:00
Storm Dragon 42afa2a56c Reset master to testing content 2026-10-25 01:57:54 -04:00