|
0.45.0
|
#include <iKeyboard.h>
Inherits igor::iOSEventListener, and igor::iModule< iKeyboard >.
Public Member Functions | |
| bool | keyPressed (iKeyCode keyCode) |
| bool | keyPressed () |
| iWindowPtr | getWindow () const override |
Public Member Functions inherited from igor::iOSEventListener | |
| iOSEventListener ()=default | |
| virtual | ~iOSEventListener ()=default |
| virtual iWindowPtr | getWindow () const =0 |
Static Public Member Functions | |
| static iKeyCode | getKeyCode (const iaString &keyname) |
Static Public Member Functions inherited from igor::iModule< iKeyboard > | |
| static IGOR_INLINE iKeyboard & | getInstance () |
| static IGOR_INLINE bool | isInstantiated () |
| static void | createInstance () |
| static void | destroyInstance () |
Friends | |
| class | iModule< iKeyboard > |
Additional Inherited Members | |
Protected Member Functions inherited from igor::iModule< iKeyboard > | |
| iModule ()=default | |
| virtual | ~iModule ()=default |
Handles keyboard specific os events and triggers Igor events.
It also stores key states for later use
returns key code
| keycode | key name |
|
overridevirtual |
Implements igor::iOSEventListener.
| bool igor::iKeyboard::keyPressed | ( | ) |
you should not use that. better style is to use events
| bool igor::iKeyboard::keyPressed | ( | iKeyCode | keyCode | ) |
you should not use that. better style is to use events
| keyCode | the specified key |