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
66extension Event {
77 /// Specifies the general type of event.
88 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
1720 }
1821}
1922
2023extension Event {
2124 /// Specifies the subtype of the event in relation to its general type.
2225 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
2934 }
3035}
3136
You can’t perform that action at this time.
0 commit comments