pub struct RmkConstantsConfig {Show 17 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 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 split_message_channel_size: usize,
pub ble_profiles_num: usize,
}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
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
split_message_channel_size: usizeThe size of the split message
ble_profiles_num: usizeThe number of available BLE profiles
Trait Implementations§
Source§impl Clone for RmkConstantsConfig
impl Clone for RmkConstantsConfig
Source§fn clone(&self) -> RmkConstantsConfig
fn clone(&self) -> RmkConstantsConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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>,
Deserialize this value from the given Serde deserializer. Read more
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more