Commit Graph
21 Commits
Author SHA1 Message Date
hjozwiak a3308aa9fd Testing goodies. 2026-11-24 19:29:50 -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
hjozwiak 64ee749a8e Agent review pass. 2026-11-24 11:12:17 -05:00
Storm Dragon 5dfa038706 Adopt common v0.8.0 and preserve canceled hardware settings 2026-11-16 20:10:47 -05:00
ak47 d95dc2d00d Use shared reader core v0.4.0
Use common date/time formatting, locale voice selection, tone synthesis, phonetic spelling, and hardware command encoding. DECtalk now follows the common Fenrir mapping and command filtering; legacy saved settings are converted at the boundary.

Validated affected race-enabled tests and standalone builds with GOWORK=off against the published module. Common PCM hashes, serial cancellation, no-CGO datetime, and speech regression checks passed. Physical hardware, audible synthesis, keyboard, and braille remain separate live checks.
2026-11-12 23:45:10 -05:00
ak47 8ab9d3395a Use shared Speech Dispatcher client v0.3.0
Move SSIP transport and protocol tests to screenreader-common. Recover both channels and voice settings for fresh speech after a daemon restart.

Validated race-enabled speech, preferences, and application speech tests and the standalone build with GOWORK=off. Physical keyboard, audible speech, and braille acceptance remain separate live checks.
2026-11-12 22:26:30 -05:00
ak47 3d515b8810 Use shared internal UI toolkit v0.2.0 2026-11-12 01:32:10 -05:00
Storm Dragon c1ca5746d0 Use shared emoji catalog 2026-11-11 23:47:45 -05:00
Storm Dragon 8592d3be11 Keep master-tracking package independent of unreleased DuckDB 2026-11-11 11:29:32 -05:00
hjozwiak b03cb8917d Add optional DuckDB debug log database with typed schema
New --debug-db flag writes the redacted debug record stream to a DuckDB database alongside or instead of the NDJSON --debug-file. Frequent type-stable attributes are promoted to typed columns; the complete record remains in attrs JSON. libduckdb is dlopen'ed at runtime (build tag duckdb, Arch optdepends) so the reader runs unchanged without it. v1 databases upgrade in place on append.
2026-11-10 21:13:41 -05:00
ak47 d0c977281d Bug fixes and package updates. 2026-11-07 13:14:22 -05:00
Storm Dragon 9bd5c15dd4 Updated cthulhu build script. Should work on systems even with old versions of go. 2026-11-03 03:02:32 -05:00
Storm Dragon 7918fc02c4 Found more weird breakage on Slint. Fixed now. 2026-11-02 17:28:31 +00:00
Storm Dragon 42afa2a56c Reset master to testing content 2026-10-25 01:57:54 -04:00
Storm Dragon 191317eb1f PKGBUILD work in preparation for release. 2026-08-01 04:33:49 -04:00
Storm Dragon 6cd745dc57 Strengthen AGENTS.md to help people who may not have any coding experience and just want to contribute. 2026-05-30 19:04:35 -04:00
Storm Dragon 6ecc775c6d Initial attempt at porting over fenrir's hardware synth support. Probably buggy. 2026-05-30 18:40:35 -04:00
Storm Dragon 60d3fc613b docs: clarify Xorg-first platform stance 2026-04-11 21:13:52 -04:00
Storm Dragon a7cd1d033a Speculative fix on preferences weirdness. 2026-03-09 01:14:01 -04:00
Storm Dragon 73ddc18114 Refactor complete. We should be in very good shape moving forward. 2026-01-16 11:41:49 -05:00
Storm Dragon 200faa9e36 Speech history plugin added. Code and documentation audit completed. Preparing for tagged release. 2025-12-22 19:43:41 -05:00