#ifndef __KBHIT_H__ #define __KBHIT_H__ /***************************************************************************** kbhit() and getch() for Linux/UNIX Chris Giese http://my.execpc.com/~geezer Release date: ? This code is public domain (no copyright). You can do whatever you want with it. *****************************************************************************/ #if !defined(linux) #include /* kbhit(), getch() */ #else /***************************************************************************** *****************************************************************************/ void cooked(void); /***************************************************************************** *****************************************************************************/ void raw(void); /***************************************************************************** *****************************************************************************/ int kbhit(void); /***************************************************************************** *****************************************************************************/ int getch(void); #endif #endif // __KBHIT_H__