File tree Expand file tree Collapse file tree 1 file changed +19
-14
lines changed
Sources/SwiftWin32/Touches, Presses, and Gestures Expand file tree Collapse file tree 1 file changed +19
-14
lines changed Original file line number Diff line number Diff line change @@ -6,26 +6,31 @@ import struct Foundation.TimeInterval
6
6
extension Event {
7
7
/// Specifies the general type of event.
8
8
public enum EventType : Int {
9
- /// The event is related to touches on the screen.
10
- case touches
11
- /// The event is related to motion of the device.
12
- case motion
13
- /// The event is a remote-control event.
14
- case remoteControl
15
- /// The event is related to the press of a physical button.
16
- case presses
9
+ /// The event is related to touches on the screen.
10
+ case touches
11
+
12
+ /// The event is related to motion of the device.
13
+ case motion
14
+
15
+ /// The event is a remote-control event.
16
+ case remoteControl
17
+
18
+ /// The event is related to the press of a physical button.
19
+ case presses
17
20
}
18
21
}
19
22
20
23
extension Event {
21
24
/// Specifies the subtype of the event in relation to its general type.
22
25
public enum EventSubtype : Int {
23
- /// The event has no subtype.
24
- case none
25
- /// The event is related to the user shaking the device.
26
- case motionShake
27
- /// A remote-control event for playing audio or video.
28
- case remoteControlPlay
26
+ /// The event has no subtype.
27
+ case none
28
+
29
+ /// The event is related to the user shaking the device.
30
+ case motionShake
31
+
32
+ /// A remote-control event for playing audio or video.
33
+ case remoteControlPlay
29
34
}
30
35
}
31
36
You can’t perform that action at this time.
0 commit comments