platypush.message.event.sensor.leap

class platypush.message.event.sensor.leap.LeapConnectEvent(*args, **kwargs)[source]

Event triggered when a Leap Motion sensor is connected

__init__(*args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.sensor.leap.LeapDisconnectEvent(*args, **kwargs)[source]

Event triggered when a Leap Motion sensor is disconnected

__init__(*args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.sensor.leap.LeapFrameEvent(hands, *args, **kwargs)[source]

Event triggered when a Leap Motion devices receives a new frame

__init__(hands, *args, **kwargs)[source]
Parameters:hands (dict) – Reference to the detected hands properties (palm and fingers X,Y,Z position, direction etc.)
class platypush.message.event.sensor.leap.LeapFrameStartEvent(*args, **kwargs)[source]

Event triggered when a new sequence of frames is detected by the Leap Motion sensor

__init__(*args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.sensor.leap.LeapFrameStopEvent(*args, **kwargs)[source]

Event triggered when a Leap Sensor stops detecting frames

__init__(*args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]