Sample Code
Windows Driver Samples/ Keyboard Layout Samples/ C++/ kbdus/ kbdus.h/
/****************************** Module Header ******************************\ * Module Name: KBDUS.H * * keyboard layout header for United States * * Copyright (c) 1985-2000, Microsoft Corporation * * Various defines for use by keyboard input code. * * History: * * created by KBDTOOL v3.11 Thu Aug 24 18:10:11 2000 * \***************************************************************************/ /* * kbd type should be controlled by cl command-line argument */ #define KBD_TYPE 4 /* * Include the basis of all keyboard table values */ #include "kbd.h" #include <dontuse.h> /***************************************************************************\ * The table below defines the virtual keys for various keyboard types where * the keyboard differ from the US keyboard. * * _EQ() : all keyboard types have the same virtual key for this scancode * _NE() : different virtual keys for this scancode, depending on kbd type * * +------+ +----------+----------+----------+----------+----------+----------+ * | Scan | | kbd | kbd | kbd | kbd | kbd | kbd | * | code | | type 1 | type 2 | type 3 | type 4 | type 5 | type 6 | \****+-------+_+----------+----------+----------+----------+----------+----------+*/
Our Services
-
What our customers say about us?
Read our customer testimonials to find out why our clients keep returning for their projects.
View Testimonials