Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Windows
Input
TouchScreen
TouchScreenTapGesture.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "AppInterface.h"
6
#include "WindowsInput.h"
7
8
namespace
Eegeo
9
{
10
namespace
Windows
11
{
12
namespace
Input
13
{
14
class
TouchScreenTapGesture
15
{
16
private
:
17
int
m_tapDownCount;
18
int
m_tapUpCount;
19
int
m_currentPointerTrackingStack;
20
float
m_tapAnchorX;
21
float
m_tapAnchorY;
22
long
long
m_tapUnixTime;
23
24
IWindowsInputHandler
* m_pTapHandler;
25
26
void
DispatchSingleTap();
27
void
DispatchDoubleTap();
28
bool
WithinAnchorDeadzone(
const
TouchScreenInputEvent
& event)
const
;
29
bool
IsTapping()
const
;
30
void
Reset();
31
void
TrackPointerDown();
32
void
TrackPointerUp();
33
bool
NoPointerDown()
const
;
34
35
public
:
36
TouchScreenTapGesture
(
IWindowsInputHandler
* pTapHandler);
37
38
void
PointerDown(
const
TouchScreenInputEvent
& event);
39
void
PointerUp(
const
TouchScreenInputEvent
& event);
40
void
PointerMove(
const
TouchScreenInputEvent
& event);
41
42
void
Update(
float
deltaSeconds);
43
};
44
}
45
}
46
}
Generated on Sat Jun 10 2023 02:00:35 for eeGeo Platform SDK by
1.8.3.1