From 75cba8f7ab27eafb7efea5134b1aeac411994758 Mon Sep 17 00:00:00 2001 From: Arch Blackmann Date: Thu, 5 Nov 2009 19:24:47 +0000 Subject: [PATCH] Add table of modifiers. svn path=/trunk/; revision=43976 --- reactos/tools/kbdtool/data.c | 7 +++++++ reactos/tools/kbdtool/kbdtool.h | 1 + 2 files changed, 8 insertions(+) diff --git a/reactos/tools/kbdtool/data.c b/reactos/tools/kbdtool/data.c index 12c5974f635..9f1bbee323d 100644 --- a/reactos/tools/kbdtool/data.c +++ b/reactos/tools/kbdtool/data.c @@ -52,6 +52,13 @@ VKNAME VKName[] = {0xe5, "GROUPSHIFT"}, {0xe6, "RGROUPSHIFT"} }; +/* Table of modifiers */ +VKNAME Modifiers[] = +{ + {0x10, "KBDSHIFT"}, + {0x11, "KBDCTRL"}, + {0x12, "KBDALT"} +}; /* ISO 110-key Keyboard Scancode to Virtual Key Conversion Table */ SCVK ScVk[] = diff --git a/reactos/tools/kbdtool/kbdtool.h b/reactos/tools/kbdtool/kbdtool.h index 89764cff49a..ccbdeb469a4 100644 --- a/reactos/tools/kbdtool/kbdtool.h +++ b/reactos/tools/kbdtool/kbdtool.h @@ -76,6 +76,7 @@ extern BOOLEAN Verbose, UnicodeFile, SanityCheck, FallbackDriver; extern PCHAR gpszFileName; extern FILE* gfpInput; extern VKNAME VKName[]; +extern VKNAME Modifiers[]; extern SCVK ScVk[]; extern LAYOUT g_Layout; extern CHAR gVKeyName[32];