ReactOS 0.4.15-dev-7788-g1ad9096
x11stubs.h File Reference
#include <rfb/rfb.h>
#include <rfb/keysym.h>
Include dependency graph for x11stubs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define XK_MISCELLANY
 
#define NoSymbol   0L
 
#define ShiftMask   (1<<0)
 
#define LockMask   (1<<1)
 
#define ControlMask   (1<<2)
 
#define Mod1Mask   (1<<3)
 
#define Mod2Mask   (1<<4)
 
#define Mod3Mask   (1<<5)
 
#define Mod4Mask   (1<<6)
 
#define Mod5Mask   (1<<7)
 
#define Button1   1
 
#define Button2   2
 
#define Button3   3
 
#define Button4   4
 
#define Button5   5
 

Typedefs

typedef int Display
 
typedef int Window
 
typedef rfbKeySym KeySym
 

Functions

KeySym XStringToKeysym (const char *str)
 
const charXKeysymToString (KeySym keysym)
 
void XDisplayKeycodes (Display *display, int *min_keycode, int *max_keycode)
 

Macro Definition Documentation

◆ Button1

#define Button1   1

Definition at line 19 of file x11stubs.h.

◆ Button2

#define Button2   2

Definition at line 20 of file x11stubs.h.

◆ Button3

#define Button3   3

Definition at line 21 of file x11stubs.h.

◆ Button4

#define Button4   4

Definition at line 22 of file x11stubs.h.

◆ Button5

#define Button5   5

Definition at line 23 of file x11stubs.h.

◆ ControlMask

#define ControlMask   (1<<2)

Definition at line 13 of file x11stubs.h.

◆ LockMask

#define LockMask   (1<<1)

Definition at line 12 of file x11stubs.h.

◆ Mod1Mask

#define Mod1Mask   (1<<3)

Definition at line 14 of file x11stubs.h.

◆ Mod2Mask

#define Mod2Mask   (1<<4)

Definition at line 15 of file x11stubs.h.

◆ Mod3Mask

#define Mod3Mask   (1<<5)

Definition at line 16 of file x11stubs.h.

◆ Mod4Mask

#define Mod4Mask   (1<<6)

Definition at line 17 of file x11stubs.h.

◆ Mod5Mask

#define Mod5Mask   (1<<7)

Definition at line 18 of file x11stubs.h.

◆ NoSymbol

#define NoSymbol   0L

Definition at line 10 of file x11stubs.h.

◆ ShiftMask

#define ShiftMask   (1<<0)

Definition at line 11 of file x11stubs.h.

◆ XK_MISCELLANY

#define XK_MISCELLANY

Definition at line 6 of file x11stubs.h.

Typedef Documentation

◆ Display

typedef int Display

Definition at line 25 of file x11stubs.h.

◆ KeySym

typedef rfbKeySym KeySym

Definition at line 27 of file x11stubs.h.

◆ Window

typedef int Window

Definition at line 26 of file x11stubs.h.

Function Documentation

◆ XDisplayKeycodes()

void XDisplayKeycodes ( Display display,
int min_keycode,
int max_keycode 
)

Definition at line 1400 of file x11stubs.c.

1401{
1402 /* VNC keycodes are non-existant */
1403 *min_keycode = 0xffff;
1404 *max_keycode = 0;
1405}

Referenced by xkeymap_init().

◆ XKeysymToString()

const char * XKeysymToString ( KeySym  keysym)

Definition at line 1391 of file x11stubs.c.

1392{
1393 int i;
1394 for (i = 0; StringToKeysym[i].keysym != NoSymbol
1395 && StringToKeysym[i].keysym != keysym; i++);
1396 return StringToKeysym[i].string;
1397}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
KeySym keysym
Definition: x11stubs.c:17
const char * string
Definition: x11stubs.c:16
StringToKeysym_t StringToKeysym[]
Definition: x11stubs.c:21
#define NoSymbol
Definition: x11stubs.h:10

Referenced by get_ksname().

◆ XStringToKeysym()

KeySym XStringToKeysym ( const char str)

Definition at line 1382 of file x11stubs.c.

1383{
1384 int i;
1385 for (i = 0; StringToKeysym[i].keysym != NoSymbol
1386 && strcmp(StringToKeysym[i].string, str); i++);
1387 return StringToKeysym[i].keysym;
1388}
int strcmp(const char *String1, const char *String2)
Definition: utclib.c:469
const WCHAR * str

Referenced by add_sequence(), and add_to_keymap().