DEADSOFTWARE

0684fc5e30c244fdaca4aa666896591c22999111
[flatwaifu.git] / src / keyb.h
1 /*
2 Драйвер клавиатуры V1.1 для DOS4GW (а также DirectX 3)
3 Copyright (C) Алексей Волынсков, 1996
5 Copyright (C) Prikol Software 1996-1997
6 Copyright (C) Aleksey Volynskov 1996-1997
7 Copyright (C) <ARembo@gmail.com> 2011
9 This file is part of the Doom2D:Rembo project.
11 Doom2D:Rembo is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License version 2 as
13 published by the Free Software Foundation.
15 Doom2D:Rembo is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, see <http://www.gnu.org/licenses/> or
22 write to the Free Software Foundation, Inc.,
23 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24 */
26 #ifndef MYKEYB
27 #define MYKEYB
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
33 void K_init();
34 void K_done();
36 // тип функции обработки клавиш
37 typedef void key_f(int k,int pressed);
39 // установить функцию обработки клавиш
40 void K_setkeyproc(key_f *);
42 // массив клавиш: 0 - отпущена, иначе - нажата
43 extern unsigned char *keys;
45 void updatee_keys();
47 #ifdef __cplusplus
48 }
49 #endif
51 #endif