#ifndef __KEYBOARD_CPP__
#define __KEYBOARD_CPP__

#ifdef __HOME__
#include "d:\job\include\DIObject.h"
#else
#include "d:\job\include\DIObject.h"
#endif

class	cKeyboard{
	LPDIRECTINPUTDEVICE8	DIKeyboard;
	char					*Buffer;
public:
	cKeyboard( void ){DIKeyboard=NULL;Buffer=NULL;}
	virtual			~cKeyboard(){}
	virtual	bool	InitKeyboard( cDIObject & , HWND );
	virtual	void	Release( void );
	virtual bool	GetKeyboardState( void );
	virtual bool	GetButtonState( char );
};

cKeyboard		Keyboard;

#endif