use Action::*;
use crate::{
protocol::sbp::SbpCommand,
remotecontrol::{Action, DeviceType, RemoteControlModel},
ProtocolId,
};
#[derive(Debug, Default)]
pub struct SamsungBluRayPlayer;
impl RemoteControlModel for SamsungBluRayPlayer {
const MODEL: &'static str = "Samsung BluRay Player";
const DEVTYPE: DeviceType = DeviceType::BluRayPlayer;
const PROTOCOL: ProtocolId = ProtocolId::Sbp;
const ADDRESS: u32 = 32;
type Cmd = SbpCommand;
const BUTTONS: &'static [(u32, Action)] = &[
(2, One),
(3, Two),
(4, Three),
(5, Four),
(6, Five),
(7, Six),
(8, Seven),
(9, Eight),
(10, Nine),
];
}