[][src]Trait keyberon::keyboard::Leds

pub trait Leds {
    fn num_lock(&mut self, _status: bool) { ... }
fn caps_lock(&mut self, _status: bool) { ... }
fn scroll_lock(&mut self, _status: bool) { ... }
fn compose(&mut self, _status: bool) { ... }
fn kana(&mut self, _status: bool) { ... } }

A trait to manage keyboard LEDs.

() implements this trait if you don't care of LEDs.

Provided methods

fn num_lock(&mut self, _status: bool)

Sets the num lock state.

fn caps_lock(&mut self, _status: bool)

Sets the caps lock state.

fn scroll_lock(&mut self, _status: bool)

Sets the scroll lock state.

fn compose(&mut self, _status: bool)

Sets the compose state.

fn kana(&mut self, _status: bool)

Sets the kana state.

Loading content...

Implementors

impl Leds for ()[src]

Loading content...