Package-level declarations
Types
Link copied to clipboard
data class K3ComputedKey(val x: Int, val y: Int, val width: Int, val height: Int, val data: K3Key, val keytop: K3StringOrDescriptor)
Link copied to clipboard
Link copied to clipboard
open class K3KeystrokeEngine(val model: K3Model, val multiTapTimeout: Duration = 200.milliseconds, val timeSource: TimeSource = TimeSource.Monotonic)
The core keystroke engine for the k3lp library. This engine is responsible for handling raw key inputs, evaluating multi-tap behaviors, and mapping keystrokes to their respective outputs/actions based on the provided model.
Functions
Link copied to clipboard
Link copied to clipboard
fun doComputeLayout(model: K3Model, totalWidthPx: Int, totalHeightPx: Int, deviceWidthMm: Int, layerId: K3LayerId): K3ComputedLayout?