-
Notifications
You must be signed in to change notification settings - Fork 45
/
PointerPointProperties.cs
56 lines (32 loc) · 1.46 KB
/
PointerPointProperties.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
using System.Drawing;
using System.Numerics;
namespace DirectX12GameEngine.Input
{
public abstract class PointerPointProperties
{
public abstract RectangleF ContactRect { get; }
public abstract RectangleF ContactRectRaw { get; }
public abstract bool IsBarrelButtonPressed { get; }
public abstract bool IsCanceled { get; }
public abstract bool IsEraser { get; }
public abstract bool IsHorizontalMouseWheel { get; }
public abstract bool IsInRange { get; }
public abstract bool IsInverted { get; }
public abstract bool IsLeftButtonPressed { get; }
public abstract bool IsMiddleButtonPressed { get; }
public abstract bool IsPrimary { get; }
public abstract bool IsRightButtonPressed { get; }
public abstract bool IsXButton1Pressed { get; }
public abstract bool IsXButton2Pressed { get; }
public abstract int MouseWheelDelta { get; }
public abstract float Orientation { get; }
public abstract PointerUpdateKind PointerUpdateKind { get; }
public abstract float Pressure { get; }
public abstract Vector2 Tilt { get; }
public abstract bool TouchConfidence { get; }
public abstract float Twist { get; }
public abstract float? ZDistance { get; }
public abstract bool HasUsage(uint usagePage, uint usageId);
public abstract int GetUsageValue(uint usagePage, uint usageId);
}
}