Windows.


:


, ? 3.7 , . - Ctrl Alt. Q, .

3.7. (KEY.C).

// ///////////////////////////////////////

#include <dos.h>

#include <bios.h>

#include <stdio.h>

#include <math.h>

#include <conio.h>

#include <graph.h>

// ///////////////////////////////////////////////

//

#define SHIFT_R 00001

#define SHIFT_L 00002

#define CTRL 00004

#define ALT 00008

#define SCROLL_LOCK_ON 00010

#define NUM_LOCK_ON 00020

#define CAPS_LOCK_ON 00040

#define INSERT_MODE 00080

#define CTRL_L 00100

#define ALT_L 00200

#define CTRL_R 00400

#define ALT_R 00800

#define SCROLL_LOCK_DWN 01000

#define NUM_LOCK_DWN 02000

#define CAPS_LOCK_DWN 04000

#define SYS_REQ_DWN 08000

// -. :

// -,

// . ,

// "1" ( ) "!" ( ).

// SCAN_1

#define SCAN_ESC 1

#define SCAN_1 2

#define SCAN_2 3

#define SCAN_3 4

#define SCAN_4 5

#define SCAN_5 6

#define SCAN_6 7

#define SCAN_7 8

#define SCAN_8 9

#define SCAN_9 10

#define SCAN_0 11

#define SCAN_MINUS 12

#define SCAN_EQUALS 13