reactos/subsystems/mvdm/ntvdm/hardware/keyboard.h
Pierre Schweitzer 321bcc056d Create the AHCI branch for Aman's work
svn path=/branches/GSoC_2016/AHCI/; revision=71203
2016-04-24 20:17:09 +00:00

25 lines
806 B
C

/*
* COPYRIGHT: GPL - See COPYING in the top level directory
* PROJECT: ReactOS Virtual DOS Machine
* FILE: subsystems/mvdm/ntvdm/hardware/keyboard.h
* PURPOSE: Keyboard emulation
* PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
*/
#ifndef _KEYBOARD_H_
#define _KEYBOARD_H_
/* DEFINES ********************************************************************/
/* Command responses */
#define KEYBOARD_BAT_SUCCESS 0xAA
#define KEYBOARD_ACK 0xFA
#define KEYBOARD_ERROR 0xFC
#define KEYBOARD_RESEND 0xFE
/* FUNCTIONS ******************************************************************/
VOID KeyboardEventHandler(PKEY_EVENT_RECORD KeyEvent);
BOOLEAN KeyboardInit(BYTE PS2Connector);
#endif /* _KEYBOARD_H_ */