ReactOS  0.4.13-dev-1148-g9b75b67
keyboard.h
Go to the documentation of this file.
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 
23 BOOLEAN KeyboardInit(BYTE PS2Connector);
24 
25 #endif /* _KEYBOARD_H_ */
VOID KeyboardEventHandler(PKEY_EVENT_RECORD KeyEvent)
Definition: keyboard.c:167
unsigned char BOOLEAN
unsigned char BYTE
Definition: mem.h:68
BOOLEAN KeyboardInit(BYTE PS2Connector)
Definition: keyboard.c:188