2014-09-16 00:51:15 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: GPL - See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS Virtual DOS Machine
|
2015-09-18 17:01:49 +00:00
|
|
|
* FILE: subsystems/mvdm/ntvdm/hardware/keyboard.h
|
2014-09-16 00:51:15 +00:00
|
|
|
* PURPOSE: Keyboard emulation
|
|
|
|
* PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _KEYBOARD_H_
|
|
|
|
#define _KEYBOARD_H_
|
|
|
|
|
|
|
|
/* DEFINES ********************************************************************/
|
|
|
|
|
|
|
|
/* Command responses */
|
2015-08-13 17:11:17 +00:00
|
|
|
#define KEYBOARD_BAT_SUCCESS 0xAA
|
|
|
|
#define KEYBOARD_ACK 0xFA
|
|
|
|
#define KEYBOARD_ERROR 0xFC
|
|
|
|
#define KEYBOARD_RESEND 0xFE
|
2014-09-16 00:51:15 +00:00
|
|
|
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
|
|
|
|
VOID KeyboardEventHandler(PKEY_EVENT_RECORD KeyEvent);
|
|
|
|
BOOLEAN KeyboardInit(BYTE PS2Connector);
|
|
|
|
|
2015-10-03 21:47:46 +00:00
|
|
|
#endif /* _KEYBOARD_H_ */
|