IoAbstraction
Public Member Functions | List of all members
KeyboardListener Class Referenceabstract

#include <KeyboardManager.h>

Public Member Functions

virtual void keyPressed (char key, bool held)=0
 
virtual void keyReleased (char key)=0
 

Detailed Description

When there are changes in keyboard manager it will call the appropriate function on your instance of this class to inform you of the change.

Member Function Documentation

◆ keyPressed()

virtual void KeyboardListener::keyPressed ( char  key,
bool  held 
)
pure virtual

A key has been pressed or held down.

Parameters
keythe character code for the key
heldif held down

◆ keyReleased()

virtual void KeyboardListener::keyReleased ( char  key)
pure virtual

A key has been released

Parameters
keythe character code of the key

The documentation for this class was generated from the following file: