Struct kernel::drivers::ps2::PS2 [] [src]

pub struct PS2 {
    // some fields omitted
}

PS2

Methods

impl PS2

fn new() -> Box<Self>

Create new PS2 data

fn keyboard_interrupt(&mut self) -> Option<KeyEvent>

Keyboard interrupt

unsafe fn mouse_init(&mut self)

Initialize mouse

fn mouse_interrupt(&mut self) -> Option<MouseEvent>

Mouse interrupt

Trait Implementations

impl KScheme for PS2

fn on_irq(&mut self, irq: u8)

fn on_poll(&mut self)

fn scheme(&self) -> &str

fn open(&mut self, url: &URL) -> Option<Box<Resource>>