ReactOS  0.4.13-dev-249-gcba1a2f
x11stubs.c File Reference
#include "x11stubs.h"
#include <string.h>
Include dependency graph for x11stubs.c:

Go to the source code of this file.

Classes

struct  StringToKeysym_t
 

Functions

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

Variables

intdisplay
 
StringToKeysym_t StringToKeysym []
 

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 }
#define NoSymbol
Definition: x11stubs.h:10
StringToKeysym_t StringToKeysym[]
Definition: x11stubs.c:21
KeySym keysym
Definition: x11stubs.c:17
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
const char * string
Definition: x11stubs.c:16

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 }
#define NoSymbol
Definition: x11stubs.h:10
StringToKeysym_t StringToKeysym[]
Definition: x11stubs.c:21
KeySym keysym
Definition: x11stubs.c:17
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
const WCHAR * str
int strcmp(const char *String1, const char *String2)
Definition: utclib.c:469

Referenced by add_sequence(), and add_to_keymap().

Variable Documentation

◆ display

◆ StringToKeysym

StringToKeysym_t StringToKeysym[]

Definition at line 21 of file x11stubs.c.

Referenced by XKeysymToString(), and XStringToKeysym().