Trait rumcake::keyboard::DeviceWithEncoders
source · pub trait DeviceWithEncoders {
type Layout: MaybeKeyboardLayout = EmptyKeyboardLayout;
const ENCODER_COUNT: usize;
// Required methods
fn get_encoders() -> [impl Encoder; Self::ENCODER_COUNT];
fn get_layout_mappings() -> [[(u8, u8); 3]; Self::ENCODER_COUNT];
}
Provided Associated Types§
Required Associated Constants§
const ENCODER_COUNT: usize
Required Methods§
fn get_encoders() -> [impl Encoder; Self::ENCODER_COUNT]
fn get_layout_mappings() -> [[(u8, u8); 3]; Self::ENCODER_COUNT]
Object Safety§
This trait is not object safe.