[−][src]Trait sunrise_libuser::keyboard::StaticServiceAsync
Keyboard interface
Required methods
fn get_keyboard_event<'a>(
&'a mut self,
work_queue: WorkQueue<'static>
) -> FutureObj<'a, Result<HandleRef<'static>, Error>>
&'a mut self,
work_queue: WorkQueue<'static>
) -> FutureObj<'a, Result<HandleRef<'static>, Error>>
Get an handle to an event triggered on keyboard update.
fn read_keyboard_states<'a>(
&'a mut self,
work_queue: WorkQueue<'static>,
unknown_0: &'a mut [HidKeyboardState]
) -> FutureObj<'a, Result<u64, Error>>
&'a mut self,
work_queue: WorkQueue<'static>,
unknown_0: &'a mut [HidKeyboardState]
) -> FutureObj<'a, Result<u64, Error>>
Read the x last pressed keys into the given buffer. A size is returned to indicate the number of states written in the buffer.
Provided methods
fn dispatch<'a>(
&'a mut self,
work_queue: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<Result<(), Error>>
&'a mut self,
work_queue: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<Result<(), Error>>
Handle an incoming IPC request.