[−][src]Trait infrared::RemoteControl
A trait describing a Remote Control
Associated Types
Loading content...Associated Constants
const MODEL: &'static str
Remote control model
const DEVTYPE: DeviceType
Type of device that this remote controls
const ADDRESS: u32
Device address
const BUTTONS: &'static [(u8, Button)]
command byte to standardbutton mapping
Provided methods
fn decode(cmd: Self::Cmd) -> Option<Button>
Try to map a command into an Button for this remote
fn encode(button: Button) -> Option<Self::Cmd>
Encode a button into a command