ReactOS  0.4.12-dev-914-g71f84a3
x11stubs.h
Go to the documentation of this file.
1 #ifndef NOXKEYMAP_H
2 #define NOXKEYMAP_H
3 
4 /* Fake a few X11 calls */
5 
6 #define XK_MISCELLANY
7 #include <rfb/rfb.h>
8 #include <rfb/keysym.h>
9 
10 #define NoSymbol 0L
11 #define ShiftMask (1<<0)
12 #define LockMask (1<<1)
13 #define ControlMask (1<<2)
14 #define Mod1Mask (1<<3)
15 #define Mod2Mask (1<<4)
16 #define Mod3Mask (1<<5)
17 #define Mod4Mask (1<<6)
18 #define Mod5Mask (1<<7)
19 #define Button1 1
20 #define Button2 2
21 #define Button3 3
22 #define Button4 4
23 #define Button5 5
24 
25 typedef int Display;
26 typedef int Window;
27 typedef rfbKeySym KeySym;
28 
29 KeySym XStringToKeysym(const char *str);
30 const char *XKeysymToString(KeySym keysym);
31 void XDisplayKeycodes(Display * display, int *min_keycode, int *max_keycode);
32 
33 #endif
KeySym XStringToKeysym(const char *str)
Definition: x11stubs.c:1382
int * display
Definition: x11stubs.c:12
const WCHAR * str
int Window
Definition: x11stubs.h:26
void XDisplayKeycodes(Display *display, int *min_keycode, int *max_keycode)
Definition: x11stubs.c:1400
const char * XKeysymToString(KeySym keysym)
Definition: x11stubs.c:1391
rfbKeySym KeySym
Definition: x11stubs.h:27
int Display
Definition: x11stubs.h:25