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
TouchScreenInputEvent.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include <vector>
6
7
namespace
Eegeo
8
{
9
namespace
Windows
10
{
11
namespace
Input
12
{
13
enum
TouchScreenInputAction
14
{
15
TouchScreenDown,
16
TouchScreenUp,
17
TouchScreenMove
18
};
19
20
struct
TouchScreenInputEvent
21
{
22
unsigned
uniqueId;
23
TouchScreenInputAction touchAction;
24
// x and y are window coordinates. z is pressure for devices that support it.
25
float
x;
26
float
y;
27
float
z;
28
TouchScreenInputEvent
(
29
float
x,
30
float
y,
31
float
z,
32
int
id
,
33
TouchScreenInputAction touchAction)
34
: x(x)
35
, y(y)
36
, z(z)
37
, uniqueId(
id
)
38
, touchAction(touchAction)
39
{
40
41
}
42
};
43
}
44
}
45
}
Generated on Sat Jun 10 2023 02:00:35 for eeGeo Platform SDK by
1.8.3.1