window.multi · thing ·
nativeKeyboardRecord
A native keyboard record record carrying windowId, sequence, physicalCode, logicalKey, modifiers, and related state.
Describe multiple windows, input events, lifecycle, and capabilities with typed records.
external thing nativeKeyboardRecordStatus: source-declared
Fields and methods (13)
text windowId- Stores window id as text.
int sequence- Stores sequence as int.
int physicalCode- Stores physical code as int.
text logicalKey- Stores logical key as text.
text modifiers- Stores modifiers as text.
bool repeated- Stores repeated as bool.
int timestampMicroseconds- Stores timestamp microseconds as int.
text deviceId- Stores device id as text.
text source- Stores source as text.
bool committedText- Stores committed text as bool.
nativeKeyboardRecord(text windowId, int sequence, int physicalCode, text logicalKey, text modifiers, bool repeated, int timestampMicroseconds, text deviceId, text source)- Native keyboard record.
Validate() returns text- Validate. Complete example
Describe() returns text- Describe. Complete example
Use nativeKeyboardRecord
A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.
cpu · source-example · type checked
using window.multi
// Describe multiple windows, input events, lifecycle, and capabilities with typed records.
nativeKeyboardRecord sample = nativeKeyboardRecord("window Id", 1, 1, "logical Key", "modifiers", true, 1, "device Id", "example")
Console.Log(Text.From(sample.windowId))
project.mech
manifestVersion = "2"
package = "api.example.window_multi__nativekeyboardrecord"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"
nativeKeyboardRecord.Validate
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using window.multi
// Validate.
nativeKeyboardRecord instance = nativeKeyboardRecord("window Id", 1, 1, "logical Key", "modifiers", true, 1, "device Id", "example")
text result = instance.Validate()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.window_multi__nativekeyboardrecord"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"
nativeKeyboardRecord.Describe
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using window.multi
// Describe.
nativeKeyboardRecord instance = nativeKeyboardRecord("window Id", 1, 1, "logical Key", "modifiers", true, 1, "device Id", "example")
text result = instance.Describe()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.window_multi__nativekeyboardrecord"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"
Notes and source
Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.
yeho/packages/window/multi/00-contracts.yh:69