Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Emscripten
Input
TiltGesture.h
1
// Copyright eeGeo Ltd (2012-2015), All Rights Reserved
2
3
#pragma once
4
5
#include "IEmscriptenInputHandler.h"
6
#include "InputEvents.h"
7
8
namespace
Eegeo
9
{
10
namespace
Emscripten
11
{
12
namespace
Input
13
{
14
class
TiltGesture
15
{
16
private
:
17
IEmscriptenInputHandler
* m_pHandler;
18
bool
m_tilting;
19
bool
m_secondaryButtonInitiated;
20
float
m_previousMousePositionY;
21
22
void
EndTiltGesture();
23
24
public
:
25
TiltGesture
(
IEmscriptenInputHandler
* pHandler);
26
27
void
PointerDown(
const
MouseInputEvent
& event);
28
void
PointerUp(
const
MouseInputEvent
& event);
29
void
PointerMove(
const
MouseInputEvent
& event,
float
screenWidth,
float
screenHeight);
30
};
31
}
32
}
33
}
Generated on Sat Jun 10 2023 02:00:30 for eeGeo Platform SDK by
1.8.3.1