mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user