Struct glutin::platform::unix::x11::ffi::XInput[][src]

pub struct XInput {
Show fields pub XAllowDeviceEvents: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, u64) -> i32, pub XChangeDeviceControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, *mut XDeviceControl) -> i32, pub XChangeDeviceDontPropagateList: unsafe extern "C" fn(*mut _XDisplay, u64, i32, *mut u64, i32) -> i32, pub XChangeDeviceKeyMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, i32, *mut u64, i32) -> i32, pub XChangeDeviceProperty: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, u64, i32, i32, *const u8, i32), pub XChangeFeedbackControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, *mut XFeedbackControl) -> i32, pub XChangeKeyboardDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> i32, pub XChangePointerDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, i32) -> i32, pub XCloseDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> i32, pub XDeleteDeviceProperty: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64), pub XDeviceBell: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, u64, i32) -> i32, pub XFreeDeviceControl: unsafe extern "C" fn(*mut XDeviceControl), pub XFreeDeviceList: unsafe extern "C" fn(*mut XDeviceInfo), pub XFreeDeviceMotionEvents: unsafe extern "C" fn(*mut XDeviceTimeCoord), pub XFreeDeviceState: unsafe extern "C" fn(*mut XDeviceState), pub XFreeFeedbackList: unsafe extern "C" fn(*mut XFeedbackState), pub XGetDeviceButtonMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut u8, u32) -> i32, pub XGetDeviceControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32) -> *mut XDeviceControl, pub XGetDeviceDontPropagateList: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32) -> *mut u64, pub XGetDeviceFocus: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut u64, *mut i32, *mut u64) -> i32, pub XGetDeviceKeyMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u8, i32, *mut i32) -> *mut u64, pub XGetDeviceModifierMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> *mut XModifierKeymap, pub XGetDeviceMotionEvents: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, u64, *mut i32, *mut i32, *mut i32) -> *mut XDeviceTimeCoord, pub XGetDeviceProperty: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i64, i64, i32, u64, *mut u64, *mut i32, *mut u64, *mut u64, *mut *mut u8) -> i32, pub XGetExtensionVersion: unsafe extern "C" fn(*mut _XDisplay, *const i8) -> *mut XExtensionVersion, pub XGetFeedbackControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut i32) -> *mut XFeedbackState, pub XGetSelectedExtensionEvents: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32, *mut *mut u64, *mut i32, *mut *mut u64) -> i32, pub XGrabDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i32, i32, *mut u64, i32, i32, u64) -> i32, pub XGrabDeviceButton: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64, i32, u32, *mut u64, i32, i32) -> i32, pub XGrabDeviceKey: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64, i32, u32, *mut u64, i32, i32) -> i32, pub XListDeviceProperties: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut i32) -> *mut u64, pub XListInputDevices: unsafe extern "C" fn(*mut _XDisplay, *mut i32) -> *mut XDeviceInfo, pub XOpenDevice: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XDevice, pub XQueryDeviceState: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> *mut XDeviceState, pub XSelectExtensionEvent: unsafe extern "C" fn(*mut _XDisplay, u64, *mut u64, i32) -> i32, pub XSendExtensionEvent: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i32, i32, *mut u64, *mut XEvent) -> i32, pub XSetDeviceButtonMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut u8, i32) -> i32, pub XSetDeviceFocus: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i32, u64) -> i32, pub XSetDeviceMode: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32) -> i32, pub XSetDeviceModifierMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut XModifierKeymap) -> i32, pub XSetDeviceValuators: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut i32, i32, i32) -> i32, pub XUngrabDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64) -> i32, pub XUngrabDeviceButton: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64) -> i32, pub XUngrabDeviceKey: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64) -> i32, // some fields omitted
}

Fields

XAllowDeviceEvents: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, u64) -> i32XChangeDeviceControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, *mut XDeviceControl) -> i32XChangeDeviceDontPropagateList: unsafe extern "C" fn(*mut _XDisplay, u64, i32, *mut u64, i32) -> i32XChangeDeviceKeyMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, i32, *mut u64, i32) -> i32XChangeDeviceProperty: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, u64, i32, i32, *const u8, i32)XChangeFeedbackControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, *mut XFeedbackControl) -> i32XChangeKeyboardDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> i32XChangePointerDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, i32) -> i32XCloseDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> i32XDeleteDeviceProperty: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64)XDeviceBell: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, u64, i32) -> i32XFreeDeviceControl: unsafe extern "C" fn(*mut XDeviceControl)XFreeDeviceList: unsafe extern "C" fn(*mut XDeviceInfo)XFreeDeviceMotionEvents: unsafe extern "C" fn(*mut XDeviceTimeCoord)XFreeDeviceState: unsafe extern "C" fn(*mut XDeviceState)XFreeFeedbackList: unsafe extern "C" fn(*mut XFeedbackState)XGetDeviceButtonMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut u8, u32) -> i32XGetDeviceControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32) -> *mut XDeviceControlXGetDeviceDontPropagateList: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32) -> *mut u64XGetDeviceFocus: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut u64, *mut i32, *mut u64) -> i32XGetDeviceKeyMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u8, i32, *mut i32) -> *mut u64XGetDeviceModifierMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> *mut XModifierKeymapXGetDeviceMotionEvents: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, u64, *mut i32, *mut i32, *mut i32) -> *mut XDeviceTimeCoordXGetDeviceProperty: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i64, i64, i32, u64, *mut u64, *mut i32, *mut u64, *mut u64, *mut *mut u8) -> i32XGetExtensionVersion: unsafe extern "C" fn(*mut _XDisplay, *const i8) -> *mut XExtensionVersionXGetFeedbackControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut i32) -> *mut XFeedbackStateXGetSelectedExtensionEvents: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32, *mut *mut u64, *mut i32, *mut *mut u64) -> i32XGrabDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i32, i32, *mut u64, i32, i32, u64) -> i32XGrabDeviceButton: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64, i32, u32, *mut u64, i32, i32) -> i32XGrabDeviceKey: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64, i32, u32, *mut u64, i32, i32) -> i32XListDeviceProperties: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut i32) -> *mut u64XListInputDevices: unsafe extern "C" fn(*mut _XDisplay, *mut i32) -> *mut XDeviceInfoXOpenDevice: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XDeviceXQueryDeviceState: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> *mut XDeviceStateXSelectExtensionEvent: unsafe extern "C" fn(*mut _XDisplay, u64, *mut u64, i32) -> i32XSendExtensionEvent: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i32, i32, *mut u64, *mut XEvent) -> i32XSetDeviceButtonMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut u8, i32) -> i32XSetDeviceFocus: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i32, u64) -> i32XSetDeviceMode: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32) -> i32XSetDeviceModifierMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut XModifierKeymap) -> i32XSetDeviceValuators: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut i32, i32, i32) -> i32XUngrabDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64) -> i32XUngrabDeviceButton: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64) -> i32XUngrabDeviceKey: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64) -> i32

Implementations

impl XInput[src]

pub fn open() -> Result<XInput, OpenError>[src]

Trait Implementations

impl Send for XInput[src]

impl Sync for XInput[src]

Auto Trait Implementations

impl RefUnwindSafe for XInput

impl Unpin for XInput

impl UnwindSafe for XInput

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.