/[rdesktop]/sourceforge.net/trunk/rdesktop/vnc/x11stubs.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /sourceforge.net/trunk/rdesktop/vnc/x11stubs.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 333 - (show annotations)
Thu Feb 20 12:14:13 2003 UTC (21 years, 3 months ago) by astrand
File MIME type: text/plain
File size: 825 byte(s)
Added rdp2vnc support

1 #ifndef NOXKEYMAP_H
2 #define NOXKEYMAP_H
3
4 /* Fake a few X11 calls */
5
6 #define XK_MISCELLANY
7 #include <rfb.h>
8 #include <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
27 KeySym XStringToKeysym(const char *str);
28 const char *XKeysymToString(KeySym keysym);
29 void XDisplayKeycodes(Display * display, int *min_keycode, int *max_keycode);
30
31 #endif

  ViewVC Help
Powered by ViewVC 1.1.26