#ifndef _KBD_KEYS #define _KBD_KEYS /* Расширенные коды клавиш, дающих два символа ( 0 и расширенный код) */ #define _PGUP 73 #define _PGDN 81 #define _HOME 71 #define _END 79 #define _INS 82 #define _DEL 83 #define _UP 72 #define _DOWN 80 #define _RIGHT 77 #define _LEFT 75 #define _BACKSPACE 8 #define _CTRL_RIGHT 116 #define _CTRL_LEFT 115 #define _TAB 9 #define _F1 59 #define _F2 60 #define _F3 61 #define _F4 62 #define _F5 63 #define _F6 64 #define _F7 65 #define _F8 66 #define _F9 67 #define _F10 68 #define _CTRL_F1 94 #define _CTRL_F2 95 #define _CTRL_F3 96 #define _CTRL_F4 97 #define _CTRL_F5 98 #define _CTRL_F6 99 #define _CTRL_F7 100 #define _CTRL_F8 101 #define _CTRL_F9 102 #define _CTRL_F10 103 #define _ALT_F1 104 #define _ALT_F2 105 #define _ALT_F3 106 #define _ALT_F4 107 #define _ALT_F5 108 #define _ALT_F6 109 #define _ALT_F7 110 #define _ALT_F8 111 #define _ALT_F9 112 #define _ALT_F10 113 #define _ALT_A 30 #define _ALT_B 48 #define _ALT_C 46 #define _ALT_D 32 #define _ALT_E 18 #define _ALT_F 33 #define _ALT_G 34 #define _ALT_H 35 #define _ALT_I 23 #define _ALT_J 36 #define _ALT_K 37 #define _ALT_L 38 #define _ALT_M 50 #define _ALT_N 49 #define _ALT_O 24 #define _ALT_P 25 #define _ALT_Q 16 #define _ALT_R 19 #define _ALT_S 31 #define _ALT_T 20 #define _ALT_U 22 #define _ALT_V 47 #define _ALT_W 17 #define _ALT_X 45 #define _ALT_Y 21 #define _ALT_Z 44 #define _CTRL_A 1 #define _CTRL_B 2 #define _CTRL_C 3 #define _CTRL_D 4 #define _CTRL_E 5 #define _CTRL_F 6 #define _CTRL_G 7 #define _CTRL_H 8 #define _CTRL_I 9 #define _CTRL_J 10 #define _CTRL_K 11 #define _CTRL_L 12 #define _CTRL_M 13 #define _CTRL_N 14 #define _CTRL_O 15 #define _CTRL_P 16 #define _CTRL_Q 17 #define _CTRL_R 18 #define _CTRL_S 19 #define _CTRL_T 20 #define _CTRL_U 21 #define _CTRL_V 22 #define _CTRL_W 23 #define _CTRL_X 24 #define _CTRL_Y 25 #define _CTRL_Z 26 #define _ALT_ESC 1 #define _ALT_1 120 #define _ALT_2 121 #define _ALT_3 122 #define _ALT_4 123 #define _ALT_5 124 #define _ALT_6 125 #define _ALT_7 126 #define _ALT_8 127 #define _ALT_9 128 #define _ALT_0 129 #define _ALT_MINUS 130 #define _ALT_EQU 131 /* Коды обычных клавиш */ #define _ENTER 13 #define _ESC 27 #define _CTRL_ENTER 10 #define _DBL_KEY 0 #define _SHIFT_TAB 15 #endif