ReactOS
0.4.15-dev-1623-g66cf1d2
|
#include <ndk/kbd.h>
Go to the source code of this file.
Classes | |
struct | tagKBDNLSLAYER |
struct | tagKBDFILE |
struct | tagKL |
struct | _ATTACHINFO |
Macros | |
#define | KLF_UNLOAD 0x20000000 |
#define | KS_DOWN_BIT 0x80 |
#define | KS_LOCK_BIT 0x01 |
#define | SC_KEY_UP 0x8000 |
#define | LP_DO_NOT_CARE_BIT (1<<25) |
#define | ThreadHasInputAccess(W32Thread) (TRUE) |
#define | GET_KS_BYTE(vk) ((vk) * 2 / 8) |
#define | GET_KS_DOWN_BIT(vk) (1 << (((vk) % 4)*2)) |
#define | GET_KS_LOCK_BIT(vk) (1 << (((vk) % 4)*2 + 1)) |
#define | IS_KEY_DOWN(ks, vk) (((ks)[GET_KS_BYTE(vk)] & GET_KS_DOWN_BIT(vk)) ? TRUE : FALSE) |
#define | IS_KEY_LOCKED(ks, vk) (((ks)[GET_KS_BYTE(vk)] & GET_KS_LOCK_BIT(vk)) ? TRUE : FALSE) |
#define | SET_KEY_DOWN(ks, vk, down) |
#define | SET_KEY_LOCKED(ks, vk, down) |
Typedefs | |
typedef struct tagKBDNLSLAYER | KBDNLSLAYER |
typedef struct tagKBDNLSLAYER * | PKBDNLSLAYER |
typedef struct tagKBDFILE | KBDFILE |
typedef struct tagKBDFILE * | PKBDFILE |
typedef struct tagKL | KL |
typedef struct tagKL * | PKL |
typedef struct _ATTACHINFO | ATTACHINFO |
typedef struct _ATTACHINFO * | PATTACHINFO |
Functions | |
NTSTATUS NTAPI | InitInputImpl (VOID) |
VOID NTAPI | RawInputThreadMain (VOID) |
BOOL FASTCALL | IntBlockInput (PTHREADINFO W32Thread, BOOL BlockIt) |
NTSTATUS FASTCALL | UserAttachThreadInput (PTHREADINFO, PTHREADINFO, BOOL) |
BOOL FASTCALL | IsRemoveAttachThread (PTHREADINFO) |
VOID FASTCALL | DoTheScreenSaver (VOID) |
NTSTATUS NTAPI | InitKeyboardImpl (VOID) |
VOID NTAPI | UserInitKeyboard (HANDLE hKeyboardDevice) |
PKL | W32kGetDefaultKeyLayout (VOID) |
VOID NTAPI | UserProcessKeyboardInput (PKEYBOARD_INPUT_DATA pKeyInput) |
BOOL NTAPI | UserSendKeyboardInput (KEYBDINPUT *pKbdInput, BOOL bInjected) |
PKL NTAPI | UserHklToKbl (HKL hKl) |
BOOL NTAPI | UserSetDefaultInputLang (HKL hKl) |
WORD FASTCALL | UserGetMouseButtonsState (VOID) |
VOID NTAPI | UserProcessMouseInput (PMOUSE_INPUT_DATA pMouseInputData) |
BOOL NTAPI | UserSendMouseInput (MOUSEINPUT *pMouseInput, BOOL bInjected) |
UINT FASTCALL | IntImmProcessKey (PUSER_MESSAGE_QUEUE, PWND, UINT, WPARAM, LPARAM) |
#define IS_KEY_DOWN | ( | ks, | |
vk | |||
) | (((ks)[GET_KS_BYTE(vk)] & GET_KS_DOWN_BIT(vk)) ? TRUE : FALSE) |
#define IS_KEY_LOCKED | ( | ks, | |
vk | |||
) | (((ks)[GET_KS_BYTE(vk)] & GET_KS_LOCK_BIT(vk)) ? TRUE : FALSE) |
typedef struct _ATTACHINFO ATTACHINFO |
typedef struct tagKBDFILE KBDFILE |
typedef struct tagKBDNLSLAYER KBDNLSLAYER |
typedef struct _ATTACHINFO * PATTACHINFO |
typedef struct tagKBDFILE * PKBDFILE |
typedef struct tagKBDNLSLAYER * PKBDNLSLAYER |
Definition at line 48 of file input.c.
Referenced by HungAppSysTimerProc().
Definition at line 360 of file input.c.
Referenced by DriverEntry().
BOOL FASTCALL IntBlockInput | ( | PTHREADINFO | W32Thread, |
BOOL | BlockIt | ||
) |
Definition at line 375 of file input.c.
Referenced by ExitThreadCallback(), and NtUserBlockInput().
Definition at line 14 of file ime.c.
Referenced by co_IntProcessKeyboardMessage().
BOOL FASTCALL IsRemoveAttachThread | ( | PTHREADINFO | ) |
Definition at line 437 of file input.c.
Referenced by ExitThreadCallback().
Definition at line 124 of file input.c.
Referenced by UserSystemThreadProc().
NTSTATUS FASTCALL UserAttachThreadInput | ( | PTHREADINFO | , |
PTHREADINFO | , | ||
BOOL | |||
) |
Definition at line 479 of file input.c.
Referenced by co_IntSetParent(), co_UserCreateWindowEx(), co_UserDestroyWindow(), IntCreateWindow(), IntProcessOwnerSwap(), IsRemoveAttachThread(), and NtUserAttachThreadInput().
Definition at line 22 of file mouse.c.
Referenced by co_UserDestroyWindow(), co_WinPosSetWindowPos(), IntDeactivateWindow(), UserAttachThreadInput(), UserDeleteW32Thread(), UserSendMouseInput(), and UserSetCursorPos().
Definition at line 370 of file kbdlayout.c.
Referenced by NtUserActivateKeyboardLayout(), NtUserLoadKeyboardLayoutEx(), NtUserMapVirtualKeyEx(), NtUserToUnicodeEx(), NtUserUnloadKeyboardLayout(), NtUserVkKeyScanEx(), and UserSetDefaultInputLang().
Definition at line 161 of file keyboard.c.
Referenced by RawInputThreadMain().
VOID NTAPI UserProcessKeyboardInput | ( | PKEYBOARD_INPUT_DATA | pKeyInput | ) |
Definition at line 1051 of file keyboard.c.
Referenced by RawInputThreadMain().
VOID NTAPI UserProcessMouseInput | ( | PMOUSE_INPUT_DATA | pMouseInputData | ) |
Definition at line 40 of file mouse.c.
Referenced by RawInputThreadMain().
BOOL NTAPI UserSendKeyboardInput | ( | KEYBDINPUT * | pKbdInput, |
BOOL | bInjected | ||
) |
Definition at line 973 of file keyboard.c.
Referenced by NtUserSendInput(), and UserProcessKeyboardInput().
BOOL NTAPI UserSendMouseInput | ( | MOUSEINPUT * | pMouseInput, |
BOOL | bInjected | ||
) |
Definition at line 168 of file mouse.c.
Referenced by co_UserSetCapture(), NtUserSendInput(), and UserProcessMouseInput().
Definition at line 343 of file kbdlayout.c.
Referenced by InitThreadCallback(), IntTranslateKbdMessage(), UserProcessKeyboardInput(), and UserSendKeyboardInput().
BYTE gafAsyncKeyState[256 *2/8] |
Definition at line 13 of file keyboard.c.
Referenced by co_CallLowLevelKeyboardHook(), co_IntProcessKeyboardMessage(), co_UserProcessHotKeys(), InitKeyboardImpl(), IntDefWindowProc(), MsqInitializeMessageQueue(), NtUserGetAsyncKeyState(), ProcessKeyEvent(), UpdateAsyncKeyState(), UserAttachThreadInput(), UserGetMouseButtonsState(), UserInitKeyboard(), UserProcessKeyboardInput(), and UserSendMouseInput().
DWORD gdwLanguageToggleKey |
Definition at line 19 of file keyboard.c.
Referenced by co_IntProcessKeyboardMessage(), SpiGetSet(), and SpiUpdatePerUserSystemParameters().
HANDLE ghKeyboardDevice |
Definition at line 19 of file input.c.
Referenced by ProcessKeyEvent(), and RawInputThreadMain().
KEYBOARD_ATTRIBUTES gKeyboardInfo |
Definition at line 17 of file keyboard.c.
Referenced by InitKeyboardImpl(), StartDebugHotKeys(), UserGetKeyboardType(), and UserInitKeyboard().
int gLanguageToggleKeyState |
Definition at line 18 of file keyboard.c.
Referenced by co_IntProcessKeyboardMessage().
PATTACHINFO gpai |
Definition at line 17 of file input.c.
Referenced by IsRemoveAttachThread(), and UserAttachThreadInput().
PKL gspklBaseLayout |
Definition at line 20 of file kbdlayout.c.
Referenced by NtUserActivateKeyboardLayout(), NtUserGetKeyboardLayoutList(), NtUserLoadKeyboardLayoutEx(), SpiGetSet(), UserHklToKbl(), UserSetDefaultInputLang(), UserUnloadKbl(), and W32kGetDefaultKeyLayout().
UINT gSystemCPCharSet |
Definition at line 23 of file kbdlayout.c.
Referenced by UserLoadKbdLayout().
DWORD gSystemFS |
Definition at line 22 of file kbdlayout.c.
Referenced by co_IntProcessKeyboardMessage(), and UserLoadKbdLayout().
PTHREADINFO ptiRawInput |
Definition at line 15 of file input.c.
Referenced by IntSetTimer(), and RawInputThreadMain().