ReactOS 0.4.16-dev-297-gc569aee
|
#include <ndk/kbd.h>
Go to the source code of this file.
Classes | |
struct | tagKBDNLSLAYER |
struct | tagKBDFILE |
struct | tagKL |
struct | _ATTACHINFO |
Macros | |
#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 | |
CODE_SEG ("INIT") 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) |
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) |
VOID FASTCALL | IntFreeImeHotKeys (VOID) |
#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 |
CODE_SEG | ( | "INIT" | ) |
Definition at line 1810 of file Interface.c.
Definition at line 48 of file input.c.
Referenced by HungAppSysTimerProc().
BOOL FASTCALL IntBlockInput | ( | PTHREADINFO | W32Thread, |
BOOL | BlockIt | ||
) |
Definition at line 375 of file input.c.
Referenced by ExitThreadCallback(), and NtUserBlockInput().
Definition at line 326 of file ime.c.
Referenced by IntSetImeHotKey(), and UserProcessDestroy().
UINT FASTCALL IntImmProcessKey | ( | PUSER_MESSAGE_QUEUE | MessageQueue, |
PWND | pWnd, | ||
UINT | uMsg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
Definition at line 569 of file ime.c.
Referenced by co_IntProcessKeyboardMessage().
BOOL FASTCALL IsRemoveAttachThread | ( | PTHREADINFO | pti | ) |
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 | ptiFrom, |
PTHREADINFO | ptiTo, | ||
BOOL | fAttach | ||
) |
Definition at line 480 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 539 of file kbdlayout.c.
Referenced by co_IntLoadKeyboardLayoutEx(), NtUserMapVirtualKeyEx(), NtUserSetThreadLayoutHandles(), NtUserToUnicodeEx(), NtUserVkKeyScanEx(), and UserSetDefaultInputLang().
Definition at line 163 of file keyboard.c.
Referenced by RawInputThreadMain().
VOID NTAPI UserProcessKeyboardInput | ( | PKEYBOARD_INPUT_DATA | pKeyInput | ) |
Definition at line 1191 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 1110 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 583 of file kbdlayout.c.
Referenced by SpiGetSet().
Definition at line 512 of file kbdlayout.c.
Referenced by InitThreadCallback(), IntTranslateKbdMessage(), UserProcessKeyboardInput(), and UserSendKeyboardInput().
|
extern |
Definition at line 13 of file keyboard.c.
Referenced by co_CallLowLevelKeyboardHook(), co_UserProcessHotKeys(), InitKeyboardImpl(), IntCheckLanguageToggle(), IntDefWindowProc(), MsqInitializeMessageQueue(), NtUserGetAsyncKeyState(), ProcessKeyEvent(), UpdateAsyncKeyState(), UserAttachThreadInput(), UserGetMouseButtonsState(), UserInitKeyboard(), UserProcessKeyboardInput(), and UserSendMouseInput().
|
extern |
Definition at line 19 of file keyboard.c.
Referenced by ProcessKeyEvent(), SpiGetSet(), and SpiUpdatePerUserSystemParameters().
|
extern |
Definition at line 21 of file keyboard.c.
Referenced by ProcessKeyEvent(), SpiGetSet(), and SpiUpdatePerUserSystemParameters().
|
extern |
Definition at line 19 of file input.c.
Referenced by ProcessKeyEvent(), and RawInputThreadMain().
|
extern |
Definition at line 17 of file keyboard.c.
Referenced by InitKeyboardImpl(), StartDebugHotKeys(), UserGetKeyboardType(), and UserInitKeyboard().
|
extern |
Definition at line 18 of file keyboard.c.
Referenced by ProcessKeyEvent().
|
extern |
Definition at line 20 of file keyboard.c.
Referenced by IntCheckLanguageToggle(), and ProcessKeyEvent().
|
extern |
Definition at line 17 of file input.c.
Referenced by IsRemoveAttachThread(), and UserAttachThreadInput().
|
extern |
Definition at line 22 of file kbdlayout.c.
Referenced by co_IntLoadKeyboardLayoutEx(), co_IntUnloadKeyboardLayoutEx(), IntGetKeyboardLayoutList(), IntReorderKeyboardLayouts(), SpiGetSet(), UserGetImeInfoEx(), UserHklToKbl(), UserSetImeInfoEx(), UserUnloadKbl(), and W32kGetDefaultKeyLayout().
|
extern |
Definition at line 25 of file kbdlayout.c.
Referenced by co_UserLoadKbdLayout().
|
extern |
Definition at line 24 of file kbdlayout.c.
Referenced by co_UserLoadKbdLayout(), IntImmProcessKey(), and IntLanguageToggle().
|
extern |
Definition at line 15 of file input.c.
Referenced by IntSetTimer(), and RawInputThreadMain().