Copyright | (c) 2016-19 Brian W Bush |
---|---|
License | MIT |
Maintainer | Brian W Bush <code@functionally.io> |
Stability | Stable |
Portability | Portable |
Safe Haskell | None |
Language | Haskell2010 |
Pointable events for Leap Motion <https://www.leapmotion.com/product/desktop>, based on the Web Socket API <https://developer.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html>.
Synopsis
- data Pointable a
- = PointableReference { }
- | Finger {
- bases :: Map Finger (Basis a)
- btipPosition :: Vector a
- carpPosition :: Vector a
- dipPosition :: Vector a
- direction :: Vector a
- extended :: Bool
- hand :: Hand a
- leapId :: LeapId
- pointableLength :: a
- mcpPosition :: Vector a
- pipPosition :: Vector a
- stabilizedTipPosition :: Vector a
- timeVisible :: a
- tipPosition :: Vector a
- tipVelocity :: Vector a
- touchDistance :: a
- touchZone :: TouchZone
- finger :: Finger
- width :: a
- | Tool {
- direction :: Vector a
- hand :: Hand a
- leapId :: LeapId
- pointableLength :: a
- stabilizedTipPosition :: Vector a
- timeVisible :: a
- tipPosition :: Vector a
- tipVelocity :: Vector a
- touchDistance :: a
- touchZone :: TouchZone
- width :: a
- data TouchZone
- data Finger
Events
Pointable tracking information. See <https://developer.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html> for details.
PointableReference | |
Finger | |
| |
Tool | |
|
Instances
Eq a => Eq (Pointable a) Source # | |
Ord a => Ord (Pointable a) Source # | |
Defined in System.Hardware.Leap.Event.Pointable | |
Read a => Read (Pointable a) Source # | |
Show a => Show (Pointable a) Source # | |
FromJSON a => FromJSON (Pointable a) Source # | |
Touch zones.
Instances
Bounded TouchZone Source # | |
Enum TouchZone Source # | |
Defined in System.Hardware.Leap.Event.Pointable succ :: TouchZone -> TouchZone # pred :: TouchZone -> TouchZone # fromEnum :: TouchZone -> Int # enumFrom :: TouchZone -> [TouchZone] # enumFromThen :: TouchZone -> TouchZone -> [TouchZone] # enumFromTo :: TouchZone -> TouchZone -> [TouchZone] # enumFromThenTo :: TouchZone -> TouchZone -> TouchZone -> [TouchZone] # | |
Eq TouchZone Source # | |
Ord TouchZone Source # | |
Defined in System.Hardware.Leap.Event.Pointable | |
Read TouchZone Source # | |
Show TouchZone Source # | |
FromJSON TouchZone Source # | |