DeviceKeyboardSDL Class Reference

[internal] The keyboard drive for linux More...

#include <MercuryInputSDL.h>

Inheritance diagram for DeviceKeyboardSDL:

Inheritance graph
Collaboration diagram for DeviceKeyboardSDL:

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 ()

Private Attributes

long m_iNumkeys
unsigned char * m_vKeys
bool m_bAllKeys [512]
MDeque< InputEventm_sEvents

Detailed Description

[internal] The keyboard drive for linux

Definition at line 5 of file MercuryInputSDL.h.

Member Function Documentation

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

Implements InputDevice.

Definition at line 9 of file MercuryInputSDL.cpp.

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

Implements InputDevice.

Definition at line 41 of file MercuryInputSDL.cpp.

int DeviceKeyboardSDL::NumButtons (  )  [virtual]

Implements InputDevice.

Definition at line 49 of file MercuryInputSDL.cpp.

void DeviceKeyboardSDL::Update (  )  [virtual]

Reimplemented from InputDevice.

Definition at line 54 of file MercuryInputSDL.cpp.

InputEvent DeviceKeyboardSDL::PopLastEvent (  )  [virtual]

Implements InputDevice.

Definition at line 100 of file MercuryInputSDL.cpp.

Member Data Documentation

long DeviceKeyboardSDL::m_iNumkeys [private]

Definition at line 14 of file MercuryInputSDL.h.

unsigned char* DeviceKeyboardSDL::m_vKeys [private]

Definition at line 15 of file MercuryInputSDL.h.

bool DeviceKeyboardSDL::m_bAllKeys[512] [private]

Definition at line 16 of file MercuryInputSDL.h.

MDeque< InputEvent > DeviceKeyboardSDL::m_sEvents [private]

Definition at line 17 of file MercuryInputSDL.h.

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