Expand description
Raw macOS multitouch, gesture recognition, device monitoring, and haptics.
Re-exports§
pub use gesture::ContactFilter;pub use gesture::FingerCountChange;pub use gesture::GestureEndReason;pub use gesture::GestureEvent;pub use gesture::GesturePhase;pub use gesture::GestureRecognizer;pub use gesture::GestureStream;pub use gesture::GestureTypes;pub use gesture::MagnifyEvent;pub use gesture::RotationEvent;pub use gesture::SwipeEvent;
Modules§
- gesture
- Palm filtering and swipe / magnify / rotation gesture recognition.
Structs§
- Actuator
- Base
Waveform - Contact
- ABI-compatible contact structure emitted by MultitouchSupport.framework.
- Contact
Stream - Contact
Subscription - An inline subscription: no frame copies, queues, or pump thread. Dropping it waits for an outstanding delivery and closes the handler. Callbacks for one subscription are serialized; different devices may call concurrently.
- Device
- Haptic
Pattern - Intensity
Multipliers - Monitor
- Monitor
Stream - Path
Event - Path
Stream - Point
- Tone
Waveform - Vector
Enums§
- Base
Waveform Type - Contact
Event - Borrowed frames are valid only during the callback.
Stoppedis delivered once when the subscription closes, including device removal or monitor stop. - Contact
State - Feedback
Pattern - Finger
- Hand
- Monitor
Event - Events delivered directly on the native callback thread. Contacts are borrowed and remain valid only for the duration of the handler.
- RunMode
- Tone
Waveform Type