9 #include "imstkDeviceClient.h"    11 #include <unordered_map>    15 using KeyStateType = int;
    27     KeyEvent(
const std::string type, 
const char key, 
const KeyStateType keyPressType) : 
Event(type), m_keyPressType(keyPressType), m_key(key) { }
    31     KeyStateType m_keyPressType;
    32     const char   m_key = -1;
    51     static std::shared_ptr<KeyboardDeviceClient> New();
    74     const std::unordered_map<int, KeyStateType>& getKeyState()
 const { 
return m_buttons; }
    80     void emitKeyDown(
char key);
    85     void emitKeyUp(
char key);
    90     bool isKeyDown(
const char key) 
const;
 The device client's represents the device and provides an interface to acquire data from a device...
 
Base class for events which contain a type, priority, and data priority defaults to 0 and uses a grea...
 
This class provides the keyboard state it also posts events. 
 
Provides the information of a key event (press, release, & which key) 
 
The console thread can run separately or in sync to provide keyboard events from the console they sho...
 
Interactor styles forward their controls to imstk objects.