Created
January 10, 2024 09:00
-
-
Save Geobert/9472d43e675df7fe3e6d7b3a8f1726f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************** Module Header ******************************\ | |
* Module Name: ergol.H | |
* | |
* keyboard layout header | |
* | |
* Copyright (c) 1985-2001, Microsoft Corporation | |
* | |
* Various defines for use by keyboard input code. | |
* | |
* History: | |
* | |
* created by KBDTOOL v3.40 Tue Jan 09 19:11:46 2024 | |
* | |
\***************************************************************************/ | |
/* | |
* 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" | |
/***************************************************************************\ | |
* 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 | | |
\****+-------+_+----------+----------+----------+----------+----------+----------+*/ | |
#undef T11 | |
#define T11 _EQ( 'C' ) | |
#undef T12 | |
#define T12 _EQ( 'O' ) | |
#undef T13 | |
#define T13 _EQ( 'P' ) | |
#undef T14 | |
#define T14 _EQ( 'W' ) | |
#undef T15 | |
#define T15 _EQ( 'J' ) | |
#undef T16 | |
#define T16 _EQ( 'M' ) | |
#undef T17 | |
#define T17 _EQ( 'D' ) | |
#undef T18 | |
#define T18 _EQ( OEM_1 ) | |
#undef T19 | |
#define T19 _EQ( 'F' ) | |
#undef T20 | |
#define T20 _EQ( 'E' ) | |
#undef T21 | |
#define T21 _EQ( 'N' ) | |
#undef T22 | |
#define T22 _EQ( OEM_COMMA ) | |
#undef T23 | |
#define T23 _EQ( 'L' ) | |
#undef T24 | |
#define T24 _EQ( 'R' ) | |
#undef T25 | |
#define T25 _EQ( 'T' ) | |
#undef T26 | |
#define T26 _EQ( 'I' ) | |
#undef T27 | |
#define T27 _EQ( 'U' ) | |
#undef T2E | |
#define T2E _EQ( OEM_MINUS ) | |
#undef T31 | |
#define T31 _EQ( OEM_PERIOD ) | |
#undef T32 | |
#define T32 _EQ( 'H' ) | |
#undef T33 | |
#define T33 _EQ( 'G' ) | |
#undef T34 | |
#define T34 _EQ( 'Y' ) | |
#undef T35 | |
#define T35 _EQ( 'K' ) | |
#undef T0C | |
#define T0C _EQ( OEM_2 ) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment