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
Mouse
MouseTiltGesture.h
1
// Copyright eeGeo Ltd (2012-2015), All Rights Reserved
2
3
#pragma once
4
5
#include "WindowsInput.h"
6
#include "IWindowsInputHandler.h"
7
8
namespace
Eegeo
9
{
10
namespace
Windows
11
{
12
namespace
Input
13
{
14
class
MouseTiltGesture
15
{
16
private
:
17
IWindowsInputHandler
* m_pHandler;
18
bool
m_tilting;
19
bool
m_secondaryButtonInitiated;
20
float
m_previousMousePositionY;
21
22
void
EndTiltGesture();
23
24
public
:
25
MouseTiltGesture
(
IWindowsInputHandler
* 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:35 for eeGeo Platform SDK by
1.8.3.1