rumcake

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§

source

type Layout: MaybeKeyboardLayout = EmptyKeyboardLayout

Required Associated Constants§

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§