1 #ifndef _HAVE_LIBFAKEKEY_H
2 #define _HAVE_LIBFAKEKEY_H
8 #include <X11/Xlibint.h>
10 #include <X11/cursorfont.h>
11 #include <X11/keysymdef.h>
12 #include <X11/keysym.h>
13 #include <X11/extensions/XTest.h>
15 #include <X11/Xproto.h>
44 FAKEKEYMOD_SHIFT = (1<<1),
45 FAKEKEYMOD_CONTROL = (1<<2),
46 FAKEKEYMOD_ALT = (1<<3),
47 FAKEKEYMOD_META = (1<<4)
76 const unsigned char *utf8_char_in,
int fakekey_press(FakeKey *fk, const unsigned char *utf8_char_in, int len_bytes, int modifiers)
Sends a Keypress to the server for the supplied UTF8 character.
int fakekey_reload_keysyms(FakeKey *fk)
Resyncs the internal list of keysyms with the server.
struct FakeKey FakeKey
Opaque structure used for all operations.
int fakekey_send_keyevent(FakeKey *fk, KeyCode keycode, Bool is_press, int modifiers)
FakeKey * fakekey_init(Display *xdpy)
Initiates FakeKey.
void fakekey_release(FakeKey *fk)
Releases the currently held key ( from fakekey_press )
int fakekey_press_keysym(FakeKey *fk, KeySym keysym, int flags)
fakekey_press but with an X keysym rather than a UTF8 Char.
FakeKeyModifier
enumerated types for #mb_pixbuf_img_transform
void fakekey_repeat(FakeKey *fk)
Repreats a press of the currently held key ( from fakekey_press )