RemoteKeyHandler
class RemoteKeyHandler(val onText: (String) -> Unit, val onEnter: () -> Unit, val onBackspace: () -> Unit, val onKey: (RemoteKey) -> Unit, val onChord: (Char, ctrl: Boolean, alt: Boolean) -> Unit? = null)(source)
Callbacks from RemoteKeyboardSink. Typed text arrives through onText without line breaks, which come through onEnter. A null onChord leaves Ctrl/Alt+letter chords to the host instead of consuming them.