Blame bindings/vala/xi.vapi
|
Packit Service |
1d8f1c |
[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "X11/extensions/XInput2.h")]
|
|
Packit Service |
1d8f1c |
namespace XI {
|
|
Packit Service |
1d8f1c |
public enum EventType {
|
|
Packit Service |
1d8f1c |
[CCode (cname = "XI_KeyPress")]
|
|
Packit Service |
1d8f1c |
KeyPress,
|
|
Packit Service |
1d8f1c |
[CCode (cname = "XI_KeyRelease")]
|
|
Packit Service |
1d8f1c |
KeyRelease,
|
|
Packit Service |
1d8f1c |
}
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
[CCode (cname = "XIAllMasterDevices")]
|
|
Packit Service |
1d8f1c |
public const int AllMasterDevices;
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
[CCode (cname = "XI_LASTEVENT")]
|
|
Packit Service |
1d8f1c |
public const int LASTEVENT;
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
[Compact]
|
|
Packit Service |
1d8f1c |
[CCode (cname = "XIEventMask", destroy_function = "")]
|
|
Packit Service |
1d8f1c |
public struct EventMask {
|
|
Packit Service |
1d8f1c |
public int deviceid;
|
|
Packit Service |
1d8f1c |
[CCode (array_length_cname = "mask_len")]
|
|
Packit Service |
1d8f1c |
public uchar[] mask;
|
|
Packit Service |
1d8f1c |
}
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
[CCode (cname = "XISetMask")]
|
|
Packit Service |
1d8f1c |
public void set_mask(void *mask, EventType type);
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
[Compact]
|
|
Packit Service |
1d8f1c |
[CCode (cname = "XIGrabModifiers", destroy_function = "")]
|
|
Packit Service |
1d8f1c |
public struct GrabModifiers {
|
|
Packit Service |
1d8f1c |
public int modifiers;
|
|
Packit Service |
1d8f1c |
public int status;
|
|
Packit Service |
1d8f1c |
}
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
[CCode (cname = "XIGrabKeycode")]
|
|
Packit Service |
1d8f1c |
public int grab_keycode (X.Display display,
|
|
Packit Service |
1d8f1c |
int deviceid,
|
|
Packit Service |
1d8f1c |
int keycode,
|
|
Packit Service |
1d8f1c |
X.Window grab_window,
|
|
Packit Service |
1d8f1c |
int grab_mode,
|
|
Packit Service |
1d8f1c |
int paired_device_mode,
|
|
Packit Service |
1d8f1c |
bool owner_events,
|
|
Packit Service |
1d8f1c |
XI.EventMask mask,
|
|
Packit Service |
1d8f1c |
[CCode (array_length_pos = 8.9)]
|
|
Packit Service |
1d8f1c |
XI.GrabModifiers[] modifiers);
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
[CCode (cname = "XIUngrabKeycode")]
|
|
Packit Service |
1d8f1c |
public int ungrab_keycode (X.Display display,
|
|
Packit Service |
1d8f1c |
int deviceid,
|
|
Packit Service |
1d8f1c |
int keycode,
|
|
Packit Service |
1d8f1c |
X.Window grab_window,
|
|
Packit Service |
1d8f1c |
[CCode (array_length_pos = 4.9)]
|
|
Packit Service |
1d8f1c |
XI.GrabModifiers[] modifiers);
|
|
Packit Service |
1d8f1c |
}
|