kafka-device-spacenav-0.2.1.2: Linux SpaceNavigator events via a Kafka message broker

Copyright(c) 2016-17 Brian W Bush
LicenseMIT
MaintainerBrian W Bush <consult@brianwbush.info>
StabilityExperimental
PortabilityLinux
Safe HaskellNone
LanguageHaskell2010

Network.UI.Kafka.SpaceNav

Contents

Description

Produce events for a Kafka topic from a SpaceNavigator <http://www.3dconnexion.com/products/spacemouse/spacenavigator.html> on Linux.

Synopsis

Event handling

spacenavLoop Source #

Arguments

:: FilePath

The path to the spacenav device, e.g. "/dev/input/spacenav0".

-> TopicConnection

The Kafka topic name and connection information.

-> Sensor

The name of the sensor producing events.

-> IO (ExitAction, LoopAction)

Action to create the exit and loop actions.

Produce events for a Kafka topic from a Linux SpaceNav.