mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
Implement new keyboard driver and layout structures to help Saveliy Tretiakovs LoadKeyboardLayout implementation.
svn path=/trunk/; revision=25405
This commit is contained in:
parent
cf06d4975f
commit
208da846ac
2 changed files with 21 additions and 0 deletions
|
@ -3,6 +3,24 @@
|
|||
|
||||
#include <internal/kbd.h>
|
||||
|
||||
typedef struct _KBDRVFILE
|
||||
{
|
||||
PSINGLE_LIST_ENTRY pkbdfChain;
|
||||
WCHAR wcKBDF[9]; // used w GetKeyboardLayoutName same as wszKLID.
|
||||
struct _KBDTABLES* KBTables; // KBDTABLES in ntoskrnl/include/internal/kbd.h
|
||||
} KBDRVFILE, *PKBDRVFILE;
|
||||
|
||||
typedef struct _KBL
|
||||
{
|
||||
PLIST_ENTRY pklChain;
|
||||
DWORD dwKBLFlags;
|
||||
HKL hkl;
|
||||
PKBDRVFILE pkbdf;
|
||||
} KBL, *PKBL;
|
||||
|
||||
#define KBL_UNLOADED 0x2000000
|
||||
#define KBL_RESET 0x4000000
|
||||
|
||||
NTSTATUS FASTCALL
|
||||
InitInputImpl(VOID);
|
||||
NTSTATUS FASTCALL
|
||||
|
|
|
@ -53,6 +53,9 @@
|
|||
BYTE gQueueKeyStateTable[256];
|
||||
|
||||
|
||||
PKBDRVFILE KBLList = NULL; // Keyboard layout list.
|
||||
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
/* Initialization -- Right now, just zero the key state and init the lock */
|
||||
|
|
Loading…
Reference in a new issue