pub struct RmkConstantsConfig {Show 19 fields
pub mouse_key_interval: u32,
pub mouse_wheel_interval: u32,
pub combo_max_num: usize,
pub combo_max_length: usize,
pub fork_max_num: usize,
pub morse_max_num: usize,
pub max_patterns_per_key: usize,
pub macro_space_size: usize,
pub debounce_time: u16,
pub event_channel_size: usize,
pub controller_channel_size: usize,
pub controller_channel_pubs: usize,
pub controller_channel_subs: usize,
pub report_channel_size: usize,
pub vial_channel_size: usize,
pub flash_channel_size: usize,
pub split_peripherals_num: usize,
pub ble_profiles_num: usize,
pub split_central_sleep_timeout_seconds: u32,
}Expand description
Keyboard constants configuration for performance and hardware limits
Fields§
§mouse_key_interval: u32Mouse key interval (ms) - controls mouse movement speed
mouse_wheel_interval: u32Mouse wheel interval (ms) - controls scrolling speed
combo_max_num: usizeMaximum number of combos keyboard can store
combo_max_length: usizeMaximum number of keys pressed simultaneously in a combo
fork_max_num: usizeMaximum number of forks for conditional key actions
morse_max_num: usizeMaximum number of morses keyboard can store
max_patterns_per_key: usizeMaximum number of patterns a morse key can handle
macro_space_size: usizeMacro space size in bytes for storing sequences
debounce_time: u16Default debounce time in ms
event_channel_size: usizeEvent channel size
controller_channel_size: usizeController event channel size
controller_channel_pubs: usizeNumber of publishers to controllers
controller_channel_subs: usizeNumber of controllers
report_channel_size: usizeReport channel size
vial_channel_size: usizeVial channel size
flash_channel_size: usizeFlash channel size
split_peripherals_num: usizeThe number of the split peripherals
ble_profiles_num: usizeThe number of available BLE profiles
split_central_sleep_timeout_seconds: u32BLE Split Central sleep timeout in minutes (0 = disabled)
Trait Implementations§
Source§impl Clone for RmkConstantsConfig
impl Clone for RmkConstantsConfig
Source§fn clone(&self) -> RmkConstantsConfig
fn clone(&self) -> RmkConstantsConfig
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RmkConstantsConfig
impl Debug for RmkConstantsConfig
Source§impl Default for RmkConstantsConfig
This separate Default impl is needed when [rmk] section is not set in keyboard.toml
impl Default for RmkConstantsConfig
This separate Default impl is needed when [rmk] section is not set in keyboard.toml
Source§impl<'de> Deserialize<'de> for RmkConstantsConfig
impl<'de> Deserialize<'de> for RmkConstantsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for RmkConstantsConfig
impl RefUnwindSafe for RmkConstantsConfig
impl Send for RmkConstantsConfig
impl Sync for RmkConstantsConfig
impl Unpin for RmkConstantsConfig
impl UnwindSafe for RmkConstantsConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)