summaryrefslogtreecommitdiff
path: root/src/devices/remote_device.rs
blob: f50ac7ac3f8d57a1d8056719ebda6f4d77d46a13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
use bedrock_core::*;


pub struct RemoteDevice {

}

impl RemoteDevice {
    pub fn new() -> Self {
        Self {

        }
    }
}

impl Device for RemoteDevice {
    fn read(&mut self, _port: u8) -> u8 {
        todo!()
        // match port {
        //     _ => unreachable!(),
        // }
    }

    fn write(&mut self, _port: u8, _value: u8) -> Option<Signal> {
        todo!()
        // match port {
        //     _ => unreachable!(),
        // };
        // return None;
    }

    fn wake(&mut self) -> bool {
        false
    }
}