Layouts, iPad-style rendering, taps, shift and layers

- JSON layouts (en-US, sv-SE inheriting number/symbol layers via base)
- LayoutModel + KeyGeometry: proportional rows, nearest-key hit testing
- KeyboardSurface: multi-pointer touch/mouse routing to the controller
- KeyboardController + ShiftState: iOS shift/caps-lock, layers, globe, dismiss
- QML view with light/dark iPad palette and drag handle
- DevHooks: SLOPOSK_AUTOTYPE, SLOPOSK_SCREENSHOT for headless checks
- Unit tests for shift, loader, geometry and controller

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-14 14:50:21 +02:00
co-authored by Claude Opus 5.5
parent cdef9b4ad0
commit be14bbcc62
35 changed files with 1970 additions and 65 deletions
+18
View File
@@ -0,0 +1,18 @@
#include "DirectEngine.h"
#include "backend/TextBackend.h"
DirectEngine::DirectEngine(TextBackend &backend)
: m_backend(backend)
{
}
void DirectEngine::commitText(const QString &text)
{
m_backend.commitText(text);
}
void DirectEngine::sendKeysym(quint32 keysym)
{
m_backend.sendKeysym(keysym);
}