22 #ifndef FIFE_EVENTCHANNEL_IKEYLISTENER_H 23 #define FIFE_EVENTCHANNEL_IKEYLISTENER_H
virtual void keyPressed(KeyEvent &evt)=0
Called if a key is pressed If a key is held down the multiple key presses are generated.
virtual bool isGlobalListener() const
Indicates if this is a global listener Global listener can also receive events that are consumed by w...
virtual void setGlobalListener(bool global)
Changes the behaviour of the listener to be global or not.
virtual void keyReleased(KeyEvent &evt)=0
Called if a key is released.