Introduction
Downloads
Documentation
Tutorials
Pixie Lite
Forum

Home

Platform_NULL_Input_KeyboardDevice Class Reference

Inheritance diagram for Platform_NULL_Input_KeyboardDevice:

Platform_Input_KeyboardDevice

List of all members.


Public Member Functions

 Platform_NULL_Input_KeyboardDevice ()
virtual bool IsKeyDown (KeyCode keyCode) const
virtual bool IsCharDown (char ascii) const
virtual void ClearBufferedCharacters () const
virtual int GetBufferedCharacterCount () const
virtual char GetBufferedCharacter (int index) const

Detailed Description

Author:
Mattias Gustavsson

Definition at line 20 of file Platform_NULL_Input_KeyboardDevice.h.


Constructor & Destructor Documentation

Platform_NULL_Input_KeyboardDevice::Platform_NULL_Input_KeyboardDevice (  ) 

Definition at line 7 of file Platform_NULL_Input_KeyboardDevice.cpp.


Member Function Documentation

bool Platform_NULL_Input_KeyboardDevice::IsKeyDown ( KeyCode  keyCode  )  const [virtual]

Checks if a key with the specified key code is currently held down See the KeyCode enum for more info on key codes.

Returns:
True if the specified key is held down, false if it isn't

Implements Platform_Input_KeyboardDevice.

Definition at line 15 of file Platform_NULL_Input_KeyboardDevice.cpp.

bool Platform_NULL_Input_KeyboardDevice::IsCharDown ( char  ascii  )  const [virtual]

Checks if the key, or combination of keys, representing the character with the specified ascii number is currently held down. Characters are different from keys, in that a combination of keys may be needed to produce certain characters, and in that key repeat effects may cause a character to be reported as alternately up and down, if held for a period of time.

Returns:
True if the character is held down, false if it isn't

Implements Platform_Input_KeyboardDevice.

Definition at line 23 of file Platform_NULL_Input_KeyboardDevice.cpp.

void Platform_NULL_Input_KeyboardDevice::ClearBufferedCharacters (  )  const [virtual]

int Platform_NULL_Input_KeyboardDevice::GetBufferedCharacterCount (  )  const [virtual]

char Platform_NULL_Input_KeyboardDevice::GetBufferedCharacter ( int  index  )  const [virtual]



Pixie University and the Pixie Game Engine is created and managed by Mattias Gustavsson.
Reproduction/republishing of any material on this site without permission is strictly prohibited.