pub type TapHoldConfig = Config;
Expand description
Type aliases for convenience.
Aliased Type§
pub struct TapHoldConfig {
pub timeout: u16,
pub interrupt_response: InterruptResponse,
pub required_idle_time: Option<u16>,
}
Fields§
§timeout: u16
The timeout (in number of milliseconds) for a tap-hold key to resolve as hold.
interrupt_response: InterruptResponse
How the tap-hold key should respond to interruptions.
required_idle_time: Option<u16>
Amount of time (in milliseconds) the keymap must have been idle in order for tap hold to support ‘hold’ functionality.
This reduces disruption from unexpected hold resolutions when typing quickly.