ReactOS 0.4.15-dev-8348-gc1b9bb5
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
25typedef int Display;
26typedef int Window;
27typedef rfbKeySym KeySym;
28
29KeySym XStringToKeysym(const char *str);
30const char *XKeysymToString(KeySym keysym);
31void XDisplayKeycodes(Display * display, int *min_keycode, int *max_keycode);
32
33#endif
const WCHAR * str
int * display
Definition: x11stubs.c:12
int Display
Definition: x11stubs.h:25
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
KeySym XStringToKeysym(const char *str)
Definition: x11stubs.c:1382
int Window
Definition: x11stubs.h:26