Content


NTL
Core
IKeyboard

IKeyboard



Describes keyboard. You may access it via IApplication getKeyboard() method.

You can find more information in comments below.

class IKeyboard
{
public:
    virtual bool isDown(const Key key) = 0; // Whether specified key is down    virtual bool isToggled(const Key key) = 0; // Whether specified key is toggled    virtual void getControlKeys(bool &ctrl, bool &alt, bool &shift) = 0; // Find out whether control keys are down or not 
};
Namespace: nitisa
Include: Nitisa/Interfaces/IKeyboard.h