[−][src]Struct sunrise_libuser::keyboard::StaticServiceProxy
Keyboard interface
Implementations
impl StaticServiceProxy
[src]
pub fn raw_new() -> Result<StaticServiceProxy, Error>
[src]
Creates a new StaticServiceProxy by connecting to the kbrd:u
service.
pub fn new() -> Result<&'static StaticServiceProxy, Error>
[src]
Acquires the shared handle to the kbrd:u
service - connecting if it wasn't already.
impl StaticServiceProxy
[src]
pub fn clone_current_object(&self) -> Result<Self, Error>
[src]
Clones the current object, returning a new handle. The returned handle has its own IPC buffer - it may be used concurrently with the original.
pub fn get_keyboard_event(&self) -> Result<Handle, Error>
[src]
Get an handle to an event triggered on keyboard update.
pub fn read_keyboard_states(
&self,
unknown_0: &mut [HidKeyboardState]
) -> Result<u64, Error>
[src]
&self,
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.
Trait Implementations
impl Debug for StaticServiceProxy
[src]
impl From<ClientSession> for StaticServiceProxy
[src]
fn from(sess: ClientSession) -> StaticServiceProxy
[src]
impl From<StaticServiceProxy> for ClientSession
[src]
fn from(sess: StaticServiceProxy) -> ClientSession
[src]
Auto Trait Implementations
impl RefUnwindSafe for StaticServiceProxy
impl Send for StaticServiceProxy
impl Sync for StaticServiceProxy
impl Unpin for StaticServiceProxy
impl UnwindSafe for StaticServiceProxy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SizedIPCBuffer for T
[src]
fn size(&Self) -> usize
[src]
fn is_cool(usize, usize) -> bool
[src]
unsafe fn from_raw_parts<'a>(usize, usize) -> &'a T
[src]
unsafe fn from_raw_parts_mut<'a>(usize, usize) -> &'a mut T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,