Struct x11_dl::xinput::XInput[][src]

pub struct XInput {
Show 44 fields pub XAllowDeviceEvents: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_ulong) -> c_int, pub XChangeDeviceControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: *mut XDeviceControl) -> c_int, pub XChangeDeviceDontPropagateList: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut c_ulong, _: c_int) -> c_int, pub XChangeDeviceKeyMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_int, _: *mut c_ulong, _: c_int) -> c_int, pub XChangeDeviceProperty: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: *const c_uchar, _: c_int), pub XChangeFeedbackControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: *mut XFeedbackControl) -> c_int, pub XChangeKeyboardDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> c_int, pub XChangePointerDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_int) -> c_int, pub XCloseDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> c_int, pub XDeleteDeviceProperty: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong), pub XDeviceBell: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_ulong, _: c_int) -> c_int, 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 Display, _: *mut XDevice, _: *mut c_uchar, _: c_uint) -> c_int, pub XGetDeviceControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int) -> *mut XDeviceControl, pub XGetDeviceDontPropagateList: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> *mut c_ulong, pub XGetDeviceFocus: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_ulong, _: *mut c_int, _: *mut c_ulong) -> c_int, pub XGetDeviceKeyMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uchar, _: c_int, _: *mut c_int) -> *mut c_ulong, pub XGetDeviceModifierMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> *mut XModifierKeymap, pub XGetDeviceMotionEvents: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_ulong, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> *mut XDeviceTimeCoord, pub XGetDeviceProperty: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_long, _: c_long, _: c_int, _: c_ulong, _: *mut c_ulong, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_int, pub XGetExtensionVersion: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> *mut XExtensionVersion, pub XGetFeedbackControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_int) -> *mut XFeedbackState, pub XGetSelectedExtensionEvents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int, _: *mut *mut c_ulong, _: *mut c_int, _: *mut *mut c_ulong) -> c_int, pub XGrabDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_int, _: c_int, _: *mut c_ulong, _: c_int, _: c_int, _: c_ulong) -> c_int, pub XGrabDeviceButton: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong, _: c_int, _: c_uint, _: *mut c_ulong, _: c_int, _: c_int) -> c_int, pub XGrabDeviceKey: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong, _: c_int, _: c_uint, _: *mut c_ulong, _: c_int, _: c_int) -> c_int, pub XListDeviceProperties: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_int) -> *mut c_ulong, pub XListInputDevices: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut XDeviceInfo, pub XOpenDevice: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut XDevice, pub XQueryDeviceState: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> *mut XDeviceState, pub XSelectExtensionEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int) -> c_int, pub XSendExtensionEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_int, _: c_int, _: *mut c_ulong, _: *mut XEvent) -> c_int, pub XSetDeviceButtonMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_uchar, _: c_int) -> c_int, pub XSetDeviceFocus: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_int, _: c_ulong) -> c_int, pub XSetDeviceMode: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int) -> c_int, pub XSetDeviceModifierMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut XModifierKeymap) -> c_int, pub XSetDeviceValuators: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_int, _: c_int, _: c_int) -> c_int, pub XUngrabDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong) -> c_int, pub XUngrabDeviceButton: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong) -> c_int, pub XUngrabDeviceKey: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong) -> c_int, // some fields omitted
}

Fields

XAllowDeviceEvents: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_ulong) -> c_intXChangeDeviceControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: *mut XDeviceControl) -> c_intXChangeDeviceDontPropagateList: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut c_ulong, _: c_int) -> c_intXChangeDeviceKeyMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_int, _: *mut c_ulong, _: c_int) -> c_intXChangeDeviceProperty: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: *const c_uchar, _: c_int)XChangeFeedbackControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: *mut XFeedbackControl) -> c_intXChangeKeyboardDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> c_intXChangePointerDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_int) -> c_intXCloseDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> c_intXDeleteDeviceProperty: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong)XDeviceBell: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_ulong, _: c_int) -> c_intXFreeDeviceControl: 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 Display, _: *mut XDevice, _: *mut c_uchar, _: c_uint) -> c_intXGetDeviceControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int) -> *mut XDeviceControlXGetDeviceDontPropagateList: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> *mut c_ulongXGetDeviceFocus: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_ulong, _: *mut c_int, _: *mut c_ulong) -> c_intXGetDeviceKeyMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uchar, _: c_int, _: *mut c_int) -> *mut c_ulongXGetDeviceModifierMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> *mut XModifierKeymapXGetDeviceMotionEvents: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_ulong, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> *mut XDeviceTimeCoordXGetDeviceProperty: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_long, _: c_long, _: c_int, _: c_ulong, _: *mut c_ulong, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_intXGetExtensionVersion: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> *mut XExtensionVersionXGetFeedbackControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_int) -> *mut XFeedbackStateXGetSelectedExtensionEvents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int, _: *mut *mut c_ulong, _: *mut c_int, _: *mut *mut c_ulong) -> c_intXGrabDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_int, _: c_int, _: *mut c_ulong, _: c_int, _: c_int, _: c_ulong) -> c_intXGrabDeviceButton: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong, _: c_int, _: c_uint, _: *mut c_ulong, _: c_int, _: c_int) -> c_intXGrabDeviceKey: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong, _: c_int, _: c_uint, _: *mut c_ulong, _: c_int, _: c_int) -> c_intXListDeviceProperties: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_int) -> *mut c_ulongXListInputDevices: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut XDeviceInfoXOpenDevice: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut XDeviceXQueryDeviceState: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> *mut XDeviceStateXSelectExtensionEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int) -> c_intXSendExtensionEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_int, _: c_int, _: *mut c_ulong, _: *mut XEvent) -> c_intXSetDeviceButtonMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_uchar, _: c_int) -> c_intXSetDeviceFocus: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_int, _: c_ulong) -> c_intXSetDeviceMode: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int) -> c_intXSetDeviceModifierMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut XModifierKeymap) -> c_intXSetDeviceValuators: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_int, _: c_int, _: c_int) -> c_intXUngrabDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong) -> c_intXUngrabDeviceButton: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong) -> c_intXUngrabDeviceKey: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong) -> c_int

Implementations

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.