ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ntdd8042.h File Reference
#include "ntddkbd.h"
#include "ntddmou.h"

Go to the source code of this file.

Data Structures

struct  POUTPUT_PACKET
struct  PINTERNAL_I8042_START_INFORMATION
struct  PINTERNAL_I8042_HOOK_KEYBOARD
struct  PINTERNAL_I8042_HOOK_MOUSE

Defines

#define IOCTL_INTERNAL_I8042_CONTROLLER_WRITE_BUFFER   CTL_CODE(FILE_DEVICE_KEYBOARD, 0x0FF2, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_I8042_HOOK_KEYBOARD   CTL_CODE(FILE_DEVICE_KEYBOARD, 0x0FF0, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_I8042_KEYBOARD_START_INFORMATION   CTL_CODE(FILE_DEVICE_KEYBOARD, 0x0FF3, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_I8042_KEYBOARD_WRITE_BUFFER   CTL_CODE(FILE_DEVICE_KEYBOARD, 0x0FF1, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_I8042_HOOK_MOUSE   CTL_CODE(FILE_DEVICE_MOUSE, 0x0FF0, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_I8042_MOUSE_START_INFORMATION   CTL_CODE(FILE_DEVICE_MOUSE, 0x0FF3, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_I8042_MOUSE_WRITE_BUFFER   CTL_CODE(FILE_DEVICE_MOUSE, 0x0FF1, METHOD_NEITHER, FILE_ANY_ACCESS)
#define I8042_POWER_SYS_BUTTON   0x0001
#define I8042_SLEEP_SYS_BUTTON   0x0002
#define I8042_WAKE_SYS_BUTTON   0x0004
#define I8042_SYS_BUTTONS

Typedefs

typedef enum _KEYBOARD_SCAN_STATE * PKEYBOARD_SCAN_STATE
typedef enum _MOUSE_STATE * PMOUSE_STATE
typedef enum
_MOUSE_RESET_SUBSTATE * 
PMOUSE_RESET_SUBSTATE
typedef VOID(NTAPIPI8042_ISR_WRITE_PORT )(IN PVOID Context, IN UCHAR Value)
typedef VOID(NTAPIPI8042_QUEUE_PACKET )(IN PVOID Context)
typedef OUT PUCHAR Value
typedef OUT PUCHAR IN BOOLEAN WaitForACK
typedef NTSTATUS(NTAPIPI8042_SYNCH_WRITE_PORT )(IN PVOID Context, IN UCHAR Value, IN BOOLEAN WaitForACK)
typedef NTSTATUS(NTAPIPI8042_KEYBOARD_INITIALIZATION_ROUTINE )(IN PVOID InitializationContext, IN PVOID SynchFuncContext, IN PI8042_SYNCH_READ_PORT ReadPort, IN PI8042_SYNCH_WRITE_PORT WritePort, OUT PBOOLEAN TurnTranslationOn)
typedef BOOLEAN(NTAPIPI8042_KEYBOARD_ISR )(PVOID IsrContext, PKEYBOARD_INPUT_DATA CurrentInput, POUTPUT_PACKET CurrentOutput, UCHAR StatusByte, PUCHAR Byte, PBOOLEAN ContinueProcessing, PKEYBOARD_SCAN_STATE ScanState)
typedef BOOLEAN(NTAPIPI8042_MOUSE_ISR )(PVOID IsrContext, PMOUSE_INPUT_DATA CurrentInput, POUTPUT_PACKET CurrentOutput, UCHAR StatusByte, PUCHAR Byte, PBOOLEAN ContinueProcessing, PMOUSE_STATE MouseState, PMOUSE_RESET_SUBSTATE ResetSubState)

Enumerations

enum  TRANSMIT_STATE { Idle = 0, SendingBytes }
enum  KEYBOARD_SCAN_STATE { Normal, GotE0, GotE1 }
enum  MOUSE_STATE {
  MouseIdle, XMovement, YMovement, ZMovement,
  MouseExpectingACK, MouseResetting
}
enum  MOUSE_RESET_SUBSTATE {
  ExpectingReset, ExpectingResetId, ExpectingGetDeviceIdACK, ExpectingGetDeviceIdValue,
  ExpectingSetResolutionDefaultACK, ExpectingSetResolutionDefaultValueACK, ExpectingSetResolutionACK, ExpectingSetResolutionValueACK,
  ExpectingSetScaling1to1ACK, ExpectingSetScaling1to1ACK2, ExpectingSetScaling1to1ACK3, ExpectingReadMouseStatusACK,
  ExpectingReadMouseStatusByte1, ExpectingReadMouseStatusByte2, ExpectingReadMouseStatusByte3, StartPnPIdDetection,
  ExpectingLoopSetSamplingRateACK, ExpectingLoopSetSamplingRateValueACK, ExpectingPnpIdByte1, ExpectingPnpIdByte2,
  ExpectingPnpIdByte3, ExpectingPnpIdByte4, ExpectingPnpIdByte5, ExpectingPnpIdByte6,
  ExpectingPnpIdByte7, EnableWheel, Enable5Buttons, ExpectingGetDeviceId2ACK,
  ExpectingGetDeviceId2Value, ExpectingSetSamplingRateACK, ExpectingSetSamplingRateValueACK, ExpectingEnableACK,
  ExpectingFinalResolutionACK, ExpectingFinalResolutionValueACK, ExpectingGetDeviceIdDetectACK, ExpectingGetDeviceIdDetectValue,
  CustomHookStateMinimum = 100, CustomHookStateMaximum = 999, I8042ReservedMinimum = 1000
}

Functions

typedef NTSTATUS (NTAPI *PI8042_SYNCH_READ_PORT)(IN PVOID Context

Generated on Sun May 27 2012 05:44:33 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.