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 |
![]() | |
iOSEventListener ()=default | |
virtual | ~iOSEventListener ()=default |
virtual iWindowPtr | getWindow () const =0 |
Static Public Member Functions | |
static iKeyCode | getKeyCode (const iaString &keyname) |
![]() | |
static IGOR_INLINE iKeyboard & | getInstance () |
static IGOR_INLINE bool | isInstantiated () |
static void | createInstance () |
static void | destroyInstance () |
Friends | |
class | iModule< iKeyboard > |
Additional Inherited Members | |
![]() | |
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 |