keyb.h 664 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
#ifdef LINUX
#include "../include/keyb.h"
/*****************************************************************************/
/*  GETCH  */
/*****************************************************************************/
int getch(void);


/*****************************************************************************/
/*  KBHIT  */
/*****************************************************************************/
int kbhit();
Rafaela Meissner's avatar
Rafaela Meissner committed
13
/*
14
15
16
17
18
19
20
#else
#include <conio.h>
#include <ctype.h>

// getch and kbhit was declared deprecated in Microsoft Visual C++. The ISO C++
// conformant name with '_' preceding the name is suggested.
#define getch _getch
Rafaela Meissner's avatar
Rafaela Meissner committed
21
#define kbhit _kbhit*/
22
23
24

#endif