All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
Eegeo::Emscripten::Input::EmscriptenInputProcessor Class Reference

Public Member Functions

 EmscriptenInputProcessor (IEmscriptenInputHandler *pHandler, const float screenWidth, const float screenHeight, const EmscriptenInputProcessorConfig &config)
 
void HandleInput (const MouseInputEvent &event)
 
void HandleInput (const KeyboardInputEvent &keyEvent)
 
void HandleInput (const TouchInputEvent &touchEvent)
 
void Update (float deltaSeconds)
 
bool IsMouseInsideWindow ()
 
void SetAllInputEventsToPointerUp (int x, int y)
 
void NotifyScreenPropertiesChanged (int screenWidth, int screenHeight)
 
const
Eegeo::Input::IUserIdleService
GetUserIdleService () const
 

Static Public Member Functions

static u32 MakeKeyboardModifiers (bool altDown, bool shiftDown, bool controlDown)
 
static
EmscriptenInputProcessorConfig 
DefaultConfig ()
 
static MouseInputEvent MakeMouseInputEvent (MouseInputAction mouseInputAction, u32 modifiers, float pointerX, float pointerY, float wheelDelta)
 

The documentation for this class was generated from the following files: