As on phone keyboards: a sideways move on space moves the cursor right
away, along the line only, without blanking the keys. Long-press space
still opens the full trackpad.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The surface cancels its fingers under the old rules before the switch, so
a release no longer reaches the other mode (a stuck repeater or held
modifier one way, a second copy of the character the other). Sticky
modifiers, shift and dead keys start over.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A second long-press finishes the first (typing its choice) before
opening its own popup, instead of sharing one
- Popups move down over their key when the room above is too small
- No popup over an unknown key: an empty rect made every cell zero wide
- A repeated touch id cancels the stale pointer instead of leaking it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- HardwareKeys presses a key's unshifted keysym on touch and releases it
on lift, through fake input; held keys repeat and combine as on a
physical keyboard (games, Shift+click)
- Shift/Ctrl/Alt/Super are plain held keys, caps lock is the system's,
dead keys compose in the app
- No long-press, flick, trackpad or rollover in this mode; nothing is
left held when the mode is turned off or touches are cancelled
- Settings switch; default stays the touch (virtual keyboard) mode
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Double-space replaced the space via a Backspace keysym, which clients
apply after the commit: use delete_surrounding_text with the commit
- Tests use a shared FakeEngine that applies ops to a simulated field
- Double-tap shift locks at a sentence start; typing between taps doesn't
- Organization name set: config lives in ~/.config/sloposk/
- Settings (auto-capitalization, double-space period) with a ⚙ panel
- Letter rows come from the compositor's XKB keymap; other letters of the
layout become long-press alternates; globe switches the system layout
over org.kde.keyboard
- One JSON template for non-letter layers; stretch keys even out rows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- TextContext: field purpose/hints and text before the cursor, reported by
the backend (KWin content_type + surrounding_text)
- TextRules: sentence-start and double-space heuristics, deletion helpers
- KeyRepeater: held backspace repeats, then deletes whole words (Ctrl+BS)
- Controller keeps a best-guess of the text before the cursor so rules work
instantly and in fields that don't report surrounding text
- No auto-capitalization or smart punctuation in password/URL/email fields
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- PointerTracker: per-finger gesture state machine (pure, unit-tested)
- AlternatesPicker + AlternatesPopup.qml: long-press choices, finger selects
- Space long-press trackpad moves the cursor with arrow keysyms
- Slide from .?123 onto a symbol types it and switches back
- New finger commits pending taps (iOS rollover)
- Flick animation: secondary symbol slides down as the finger moves
- Transparent popup margin with an input region that passes clicks through
- tst_keyboardsurface: end-to-end gesture tests on the real QML
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>