[−][src]Trait sunrise_libuser::keyboard::StaticService
Keyboard interface
Required methods
fn get_keyboard_event(
&mut self,
manager: WorkQueue<'static>
) -> Result<HandleRef<'static>, Error>
&mut self,
manager: WorkQueue<'static>
) -> Result<HandleRef<'static>, Error>
Get an handle to an event triggered on keyboard update.
fn read_keyboard_states(
&mut self,
manager: WorkQueue<'static>,
unknown_0: &mut [HidKeyboardState]
) -> Result<u64, Error>
&mut self,
manager: WorkQueue<'static>,
unknown_0: &mut [HidKeyboardState]
) -> 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,
manager: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<Result<(), Error>>
&'a mut self,
manager: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<Result<(), Error>>
Handle an incoming IPC request.