/[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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 648 - (hide annotations)
Sat Apr 10 09:34:52 2004 UTC (20 years, 2 months ago) by stargo
File MIME type: text/plain
File size: 879 byte(s)
rdp2vnc fixes from Johannes Schindelin <Johannes.Schindelin@gmx.de>

1 astrand 333 #ifndef NOXKEYMAP_H
2     #define NOXKEYMAP_H
3    
4     /* Fake a few X11 calls */
5    
6     #define XK_MISCELLANY
7 astrand 334 #include <rfb/rfb.h>
8     #include <rfb/keysym.h>
9 astrand 333
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 stargo 648 typedef int Window;
27     typedef rfbKeySym KeySym;
28 astrand 333
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

  ViewVC Help
Powered by ViewVC 1.1.26