mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
25 lines
806 B
C
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_ */
|