All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IEmscriptenInputHandler.h
1 #pragma once
2 
3 #include "AppInterface.h"
4 
5 namespace Eegeo
6 {
7  namespace Emscripten
8  {
9  namespace Input
10  {
12  {
13  public:
14  virtual ~IEmscriptenInputHandler() {}
15 
16  virtual void Event_TouchRotate(const AppInterface::RotateData& data) = 0;
17  virtual void Event_TouchRotate_Start(const AppInterface::RotateData& data) = 0;
18  virtual void Event_TouchRotate_End(const AppInterface::RotateData& data) = 0;
19 
20  virtual void Event_TouchPinch(const AppInterface::PinchData& data) = 0;
21  virtual void Event_TouchPinch_Start(const AppInterface::PinchData& data) = 0;
22  virtual void Event_TouchPinch_End(const AppInterface::PinchData& data) = 0;
23 
24  virtual void Event_TouchPan(const AppInterface::PanData& data) = 0;
25  virtual void Event_TouchPan_Start(const AppInterface::PanData& data) = 0;
26  virtual void Event_TouchPan_End(const AppInterface::PanData& data) = 0;
27 
28  virtual void Event_TouchTap(const AppInterface::TapData& data) = 0;
29  virtual void Event_TouchDoubleTap(const AppInterface::TapData& data, u32 modifiers) = 0;
30 
31  virtual void Event_TouchDown(const AppInterface::TouchData& data) = 0;
32  virtual void Event_TouchMove(const AppInterface::TouchData& data) = 0;
33  virtual void Event_TouchUp(const AppInterface::TouchData& data) = 0;
34 
35  virtual void Event_Zoom(const AppInterface::ZoomData& data) = 0;
36 
37  virtual void Event_TiltStart(const AppInterface::TiltData& data) = 0;
38  virtual void Event_TiltEnd(const AppInterface::TiltData& data) = 0;
39  virtual void Event_Tilt(const AppInterface::TiltData& data) = 0;
40 
41  virtual void Event_Keyboard(const AppInterface::KeyboardData& data) = 0;
42  };
43  }
44  }
45 }