ReactOS 0.4.16-dev-122-g325d74c
kbd.h File Reference

Go to the source code of this file.

Classes

struct  _VK_TO_BIT
 
struct  _MODIFIERS
 
struct  _VK_TO_WCHAR_TABLE
 
struct  _DEADKEY
 
struct  _VSC_LPWSTR
 
struct  _VSC_VK
 
struct  _KBDTABLES
 

Macros

#define __KBD_H
 
#define KBDEXT   0x100 /* Extended key code */
 
#define KBDMULTIVK   0x200 /* Multi-key */
 
#define KBDSPECIAL   0x400 /* Special key */
 
#define KBDNUMPAD   0x800 /* Number-pad */
 
#define KBDSHIFT   0x001 /* Shift modifier */
 
#define KBDCTRL   0x002 /* Ctrl modifier */
 
#define KBDALT   0x004 /* Alt modifier */
 
#define SHFT_INVALID   0x0F
 
#define TYPEDEF_VK_TO_WCHARS(i)
 
#define DKF_DEAD   1
 
#define TYPEDEF_LIGATURE(i)
 
#define KBD_VERSION   1
 
#define GET_KBD_VERSION(p)   (HIWORD((p)->fLocalFlags))
 
#define KLLF_ALTGR   0x1
 
#define KLLF_SHIFTLOCK   0x2
 
#define KLLF_LRM_RLM   0x4
 
#define WCH_NONE   0xf000
 
#define WCH_DEAD   0xf001
 
#define WCH_LGTR   0xf002
 
#define CAPLOK   0x01
 
#define SGCAPS   0x02
 
#define CAPLOKALTGR   0x04
 
#define KANALOK   0x08
 
#define GRPSELTAP   0x80
 
#define VK_ABNT_C1   0xC1
 
#define VK_ABNT_C2   0xC2
 
#define SCANCODE_LSHIFT   0x2A
 
#define SCANCODE_RSHIFT   0x36
 
#define SCANCODE_CTRL   0x1D
 
#define SCANCODE_ALT   0x38
 

Typedefs

typedef struct _VK_TO_BIT VK_TO_BIT
 
typedef struct _VK_TO_BITPVK_TO_BIT
 
typedef struct _MODIFIERS MODIFIERS
 
typedef struct _MODIFIERSPMODIFIERS
 
typedef struct _VK_TO_WCHAR_TABLE VK_TO_WCHAR_TABLE
 
typedef struct _VK_TO_WCHAR_TABLEPVK_TO_WCHAR_TABLE
 
typedef struct _DEADKEY DEADKEY
 
typedef struct _DEADKEYPDEADKEY
 
typedef WCHARDEADKEY_LPWSTR
 
typedef struct _VSC_LPWSTR VSC_LPWSTR
 
typedef struct _VSC_LPWSTRPVSC_LPWSTR
 
typedef struct _VSC_VK VSC_VK
 
typedef struct _VSC_VKPVSC_VK
 
typedef struct _KBDTABLES KBDTABLES
 
typedef struct _KBDTABLESPKBDTABLES
 

Macro Definition Documentation

◆ __KBD_H

#define __KBD_H

Definition at line 1 of file kbd.h.

◆ CAPLOK

#define CAPLOK   0x01

Definition at line 118 of file kbd.h.

◆ CAPLOKALTGR

#define CAPLOKALTGR   0x04

Definition at line 120 of file kbd.h.

◆ DKF_DEAD

#define DKF_DEAD   1

Definition at line 64 of file kbd.h.

◆ GET_KBD_VERSION

#define GET_KBD_VERSION (   p)    (HIWORD((p)->fLocalFlags))

Definition at line 90 of file kbd.h.

◆ GRPSELTAP

#define GRPSELTAP   0x80

Definition at line 122 of file kbd.h.

◆ KANALOK

#define KANALOK   0x08

Definition at line 121 of file kbd.h.

◆ KBD_VERSION

#define KBD_VERSION   1

Definition at line 89 of file kbd.h.

◆ KBDALT

#define KBDALT   0x004 /* Alt modifier */

Definition at line 16 of file kbd.h.

◆ KBDCTRL

#define KBDCTRL   0x002 /* Ctrl modifier */

Definition at line 15 of file kbd.h.

◆ KBDEXT

#define KBDEXT   0x100 /* Extended key code */

Definition at line 8 of file kbd.h.

◆ KBDMULTIVK

#define KBDMULTIVK   0x200 /* Multi-key */

Definition at line 9 of file kbd.h.

◆ KBDNUMPAD

#define KBDNUMPAD   0x800 /* Number-pad */

Definition at line 11 of file kbd.h.

◆ KBDSHIFT

#define KBDSHIFT   0x001 /* Shift modifier */

Definition at line 14 of file kbd.h.

◆ KBDSPECIAL

#define KBDSPECIAL   0x400 /* Special key */

Definition at line 10 of file kbd.h.

◆ KLLF_ALTGR

#define KLLF_ALTGR   0x1

Definition at line 91 of file kbd.h.

◆ KLLF_LRM_RLM

#define KLLF_LRM_RLM   0x4

Definition at line 93 of file kbd.h.

◆ KLLF_SHIFTLOCK

#define KLLF_SHIFTLOCK   0x2

Definition at line 92 of file kbd.h.

◆ SCANCODE_ALT

#define SCANCODE_ALT   0x38

Definition at line 131 of file kbd.h.

◆ SCANCODE_CTRL

#define SCANCODE_CTRL   0x1D

Definition at line 130 of file kbd.h.

◆ SCANCODE_LSHIFT

#define SCANCODE_LSHIFT   0x2A

Definition at line 128 of file kbd.h.

◆ SCANCODE_RSHIFT

#define SCANCODE_RSHIFT   0x36

Definition at line 129 of file kbd.h.

◆ SGCAPS

#define SGCAPS   0x02

Definition at line 119 of file kbd.h.

◆ SHFT_INVALID

#define SHFT_INVALID   0x0F

Definition at line 19 of file kbd.h.

◆ TYPEDEF_LIGATURE

#define TYPEDEF_LIGATURE (   i)
Value:
typedef struct _LIGATURE ## i { \
BYTE VirtualKey; \
WORD ModificationNumber; \
WCHAR wch[i]; \
} LIGATURE ## i, *PLIGATURE ## i;
unsigned short WORD
Definition: ntddk_ex.h:93
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
__wchar_t WCHAR
Definition: xmlstorage.h:180
unsigned char BYTE
Definition: xxhash.c:193

Definition at line 76 of file kbd.h.

◆ TYPEDEF_VK_TO_WCHARS

#define TYPEDEF_VK_TO_WCHARS (   i)
Value:
typedef struct _VK_TO_WCHARS ## i { \
BYTE VirtualKey; \
WCHAR wch[i]; \
} VK_TO_WCHARS ## i, *PVK_TO_WCHARS ## i;
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes

Definition at line 32 of file kbd.h.

◆ VK_ABNT_C1

#define VK_ABNT_C1   0xC1

Definition at line 124 of file kbd.h.

◆ VK_ABNT_C2

#define VK_ABNT_C2   0xC2

Definition at line 125 of file kbd.h.

◆ WCH_DEAD

#define WCH_DEAD   0xf001

Definition at line 114 of file kbd.h.

◆ WCH_LGTR

#define WCH_LGTR   0xf002

Definition at line 115 of file kbd.h.

◆ WCH_NONE

#define WCH_NONE   0xf000

Definition at line 113 of file kbd.h.

Typedef Documentation

◆ DEADKEY

◆ DEADKEY_LPWSTR

Definition at line 62 of file kbd.h.

◆ KBDTABLES

◆ MODIFIERS

◆ PDEADKEY

◆ PKBDTABLES

◆ PMODIFIERS

◆ PVK_TO_BIT

◆ PVK_TO_WCHAR_TABLE

◆ PVSC_LPWSTR

◆ PVSC_VK

typedef struct _VSC_VK * PVSC_VK

◆ VK_TO_BIT

◆ VK_TO_WCHAR_TABLE

◆ VSC_LPWSTR

◆ VSC_VK