Skip to main content

Crate multitouch

Crate multitouch 

Source
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
BaseWaveform
Contact
ABI-compatible contact structure emitted by MultitouchSupport.framework.
ContactStream
ContactSubscription
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
HapticPattern
IntensityMultipliers
Monitor
MonitorStream
PathEvent
PathStream
Point
ToneWaveform
Vector

Enums§

BaseWaveformType
ContactEvent
Borrowed frames are valid only during the callback. Stopped is delivered once when the subscription closes, including device removal or monitor stop.
ContactState
FeedbackPattern
Finger
Hand
MonitorEvent
Events delivered directly on the native callback thread. Contacts are borrowed and remain valid only for the duration of the handler.
RunMode
ToneWaveformType