DeviceKeyboardW32 Class Reference

[internal] Win32 Keybord driver More...

#include <MercuryInputWin32.h>

Inheritance diagram for DeviceKeyboardW32:

Inheritance graph
Collaboration diagram for DeviceKeyboardW32:

Collaboration graph
List of all members.

Public Member Functions

virtual void Init (MString Name)
virtual bool IsButtonDown (int ButtonNumber)
virtual int NumButtons ()
virtual void Update ()
virtual InputEvent PopLastEvent ()

Static Public Member Functions

static void TickRepeat (unsigned char cChar)

Private Attributes

unsigned char m_vKeys [256]
MDeque< InputEventm_sEvents
bool m_bAllKeys [512]

Static Private Attributes

static MDeque< unsigned char > m_qRepeats

Detailed Description

[internal] Win32 Keybord driver

Definition at line 5 of file MercuryInputWin32.h.

Member Function Documentation

void DeviceKeyboardW32::Init ( MString  Name  )  [virtual]

Implements InputDevice.

Definition at line 62 of file MercuryInputWin32.cpp.

bool DeviceKeyboardW32::IsButtonDown ( int  ButtonNumber  )  [virtual]

Implements InputDevice.

Definition at line 81 of file MercuryInputWin32.cpp.

int DeviceKeyboardW32::NumButtons (  )  [virtual]

Implements InputDevice.

Definition at line 89 of file MercuryInputWin32.cpp.

void DeviceKeyboardW32::Update (  )  [virtual]

Reimplemented from InputDevice.

Definition at line 94 of file MercuryInputWin32.cpp.

InputEvent DeviceKeyboardW32::PopLastEvent (  )  [virtual]

Implements InputDevice.

Definition at line 139 of file MercuryInputWin32.cpp.

static void DeviceKeyboardW32::TickRepeat ( unsigned char  cChar  )  [inline, static]

Definition at line 14 of file MercuryInputWin32.h.

Member Data Documentation

unsigned char DeviceKeyboardW32::m_vKeys[256] [private]

Definition at line 16 of file MercuryInputWin32.h.

MDeque< InputEvent > DeviceKeyboardW32::m_sEvents [private]

Definition at line 17 of file MercuryInputWin32.h.

MDeque< unsigned char > DeviceKeyboardW32::m_qRepeats [static, private]

Definition at line 18 of file MercuryInputWin32.h.

bool DeviceKeyboardW32::m_bAllKeys[512] [private]

Definition at line 19 of file MercuryInputWin32.h.

The documentation for this class was generated from the following files:
Hosted by Logo