kafka-device-joystick-0.2.1.2: Linux joystick 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.Joystick.Interpretation

Contents

Description

Produce interpreted events for a Kafka topic from a Linux joystick, which must conform to the Linux Joystick API <https://www.kernel.org/doc/Documentation/input/joystick-api.txt>.

Synopsis

Event handling

joystickLoop Source #

Arguments

:: Interpretation FilePath Double

Instructions for interpretation.

-> IO (ExitAction, LoopAction)

Action to create the exit and loop actions.

Interpret events from a Linux SpaceNav.