Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Latest commit

 

History

History
43 lines (29 loc) · 1.28 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.28 KB

fiware-gamepad-controller

This python application subscribes for gamepad events, and publishes a command corresponding to the received event to MQTT.

TravisCI Status

Description

This python application works on Raspberry Pi 2 or higher.

This applicaton subscribes for gamepad events using pygame. When a gamepad event is received and a command is associated with the event, this application publishes the command to MQTT Broker.

Requirement

python 3.6 or higher

Install libraries

$ git clone https://github.com/RoboticBase/fiware-gamepad-controller.git
$ cd fiware-gamepad-controller
$ pip install -r requirements/common.txt

How to Run

$ python ./main.py [-h] [--describe] [--debug] [type]
option description
-h, --help show help message
--describe show the event of gamepad instead of publishing a command to MQTT
--debug show debug log
type give the configuration type

When abc is given as [type], conf/abc.yaml is loaded as the configuration of this application.

License

Apache License 2.0

Copyright

Copyright (c) 2018 TIS Inc.