- "Send text to VM..." dialog: arbitrary Unicode goes through Guest Tools (clipboard paste in the guest, agent v3 /v1/text-input long poll); without Guest Tools only US-keyboard ASCII is typed via QMP. - Host IME / dictation: a low-level keyboard hook (internal/host/ime_*) catches VK_PACKET input aimed at a running VM window, coalesces bursts and forwards them in order through a per-VM queue (type_flow.go). - reims-vgpu-window bridge: new runtime patch reims-vgpu-win32-unicode-input enables SDL text input and posts committed text to /v1/host-text; StartVM passes REIMS_GO_INPUT_URL/TOKEN to the window process. This also adds the patch file that patches/series.txt already listed. - Guest Tools auth returns a field snapshot instead of copying the VM entry (it now holds a mutex and text queues). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
391 B
Go
15 lines
391 B
Go
//go:build !windows
|
|
|
|
package host
|
|
|
|
// IMEBridge is a no-op stub on non-Windows hosts.
|
|
type IMEBridge struct{}
|
|
|
|
func StartIMEBridge(onText func(target IMETarget, text string)) (*IMEBridge, error) {
|
|
return &IMEBridge{}, nil
|
|
}
|
|
|
|
func (b *IMEBridge) SetTargets(targets []IMETarget) {}
|
|
func (b *IMEBridge) SetEnabled(enabled bool) {}
|
|
func (b *IMEBridge) Close() {}
|