ProjectionInputCodec
Detached standard input properties shared by declaration projections and installed client adapters. Decoders reject malformed variants, ranges, and trailing fields before handlers run. The enclosing transport owns aggregate byte, collection, and nesting limits.
Functions
Encodes one logical button without conflating auxiliary and named buttons.
Decodes named or nonnegative auxiliary button identities.
Encodes exact physical-key membership and optional held-modifier matching.
Decodes a detached keyboard subscription before installing client listeners.
Encodes the physical key, scan code, and complete captured modifier state.
Decodes a keyboard event, preserving unknown keys and platform scan codes.
Decodes one pointer event together with its modifier-local position.
Encodes both tree coordinates and modifier-local coordinates, including out-of-bounds captured input.
Encodes committed Unicode scalars or complete immutable IME composition notifications.
Validates Unicode scalars and composition caret/block bounds through the existing input constructors.