Trait roccat_vulcan_api_rs::Layout[][src]

pub trait Layout {
    fn layout(&self) -> &[KeyInfo];

    fn find_from_key_name(&self, key_name: KeyName) -> Option<&KeyInfo> { ... }
fn find_from_key_code(&self, key_code: KeyCode) -> Option<&KeyInfo> { ... }
fn find_from_key_light(&self, key_code: KeyLight) -> Option<&KeyInfo> { ... } }
Expand description

Defines a Keyboard layout

Required methods

returns the layout

Provided methods

Find key info from y KeyName

Find key info from a KeyCode

Find key info from a KeyLight

Implementors