[NTVDM]
[reactos.git] / reactos / subsystems / ntvdm / hardware / keyboard.h
1 /*
2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
4 * FILE: 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 /* INCLUDES *******************************************************************/
13
14 #include "ntvdm.h"
15
16 /* DEFINES ********************************************************************/
17
18 /* Command responses */
19 #define KEYBOARD_ACK 0xFA
20 #define KEYBOARD_RESEND 0xFE
21
22 /* FUNCTIONS ******************************************************************/
23
24 VOID KeyboardEventHandler(PKEY_EVENT_RECORD KeyEvent);
25 VOID KeyboardCommand(BYTE Command);
26 BOOLEAN KeyboardInit(BYTE PS2Connector);
27
28 #endif // _KEYBOARD_H_