DeviceKeyboardFB Class Reference

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

#include <MercuryInputFB.h>

Inheritance diagram for DeviceKeyboardFB:

Inheritance graph
[legend]
Collaboration diagram for DeviceKeyboardFB:

Collaboration graph
[legend]
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 MercuryInputFB.h.


Member Function Documentation

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

Implements InputDevice.

Definition at line 13 of file MercuryInputFB.cpp.

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

Implements InputDevice.

Definition at line 26 of file MercuryInputFB.cpp.

int DeviceKeyboardFB::NumButtons (  )  [virtual]

Implements InputDevice.

Definition at line 34 of file MercuryInputFB.cpp.

void DeviceKeyboardFB::Update (  )  [virtual]

Reimplemented from InputDevice.

Definition at line 39 of file MercuryInputFB.cpp.

InputEvent DeviceKeyboardFB::PopLastEvent (  )  [virtual]

Implements InputDevice.

Definition at line 53 of file MercuryInputFB.cpp.


Member Data Documentation

long DeviceKeyboardFB::m_iNumkeys [private]

Definition at line 14 of file MercuryInputFB.h.

unsigned char* DeviceKeyboardFB::m_vKeys [private]

Definition at line 15 of file MercuryInputFB.h.

bool DeviceKeyboardFB::m_bAllKeys[512] [private]

Definition at line 16 of file MercuryInputFB.h.

MDeque< InputEvent > DeviceKeyboardFB::m_sEvents [private]

Definition at line 17 of file MercuryInputFB.h.


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