1 /*
2  * COPYRIGHT:       GPL - See COPYING in the top level directory
3  * PROJECT:         ReactOS Virtual DOS Machine
4  * FILE:            subsystems/mvdm/ntvdm/hardware/keyboard.h
5  * PURPOSE:         Keyboard emulation
6  * PROGRAMMERS:     Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
7  */
8 
9 #ifndef _KEYBOARD_H_
10 #define _KEYBOARD_H_
11 
12 /* DEFINES ********************************************************************/
13 
14 /* Command responses */
15 #define KEYBOARD_BAT_SUCCESS    0xAA
16 #define KEYBOARD_ACK            0xFA
17 #define KEYBOARD_ERROR          0xFC
18 #define KEYBOARD_RESEND         0xFE
19 
20 /* FUNCTIONS ******************************************************************/
21 
22 VOID KeyboardEventHandler(PKEY_EVENT_RECORD KeyEvent);
23 BOOLEAN KeyboardInit(BYTE PS2Connector);
24 
25 #endif /* _KEYBOARD_H_ */
26