aboutsummaryrefslogtreecommitdiff
path: root/src/parsec_server/include/inp_defs_sv.h
blob: 7aed35432dd98afdadd9f728e8ebfb9b0b95a101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * PARSEC HEADER: inps_defs.h
 */

#ifndef _INPS_DEFS_H_
#define _INPS_DEFS_H_


// ----------------------------------------------------------------------------
// INPUT SUBSYSTEM (INP) related definitions                                  -
// ----------------------------------------------------------------------------

// header of keyboard buffer
struct keybbuffer_s {

	dword	ReadPos;
	dword	WritePos;
	dword	Data;
};

#define KEYB_BUFF_SIZ				16


// global pointer to the keyboard buffer ( for console input ) ----------------
//
extern keybbuffer_s* KeybBuffer;

#endif // _INPS_DEFS_H_