• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MiczFlor / RPi-Jukebox-RFID / 7975917028
38%
develop: 79%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: develop
Ran 20 Feb 2024 03:29PM UTC
Jobs 1
Files 12
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Feb 2024 03:27PM UTC coverage: 38.336% (+0.1%) from 38.2%
7975917028

Pull #2258

github

web-flow
Event Device Support (`evdev`) (#1943)

* Add event device plugin

This implements an "event device" listener plugin,
that enables the user to configure the phoniebox to
respond to events from an "event device" (device under /dev/input).
This incluces eg button presses from an USB controller or keyboard.

* Adds documentation for the event device plugin

Includes a detailed how-to as well as example config

* Allow empty button config

This is an actual usecase in case someone wants to setup a device
and figure out the button ids by looking at the logs

* Update README.rst

* Improve README

- Remove duplicated section as suggested
- Add Zero Delay Arcade USB Encoder usecase

* Give more meaningfull name to listener thread variable

* Link to old documentation

* Remove README and fix typo

The documentation is now part of the markdown documentation

* Remove unecessary plain=1

* Remove indents in example code

There was some left over indentation from the old rtf format in the python code examples.

* Add example how to access evdev in docker

* Example for new Evdev config structure

This is tighly modeled after gpio.
In contrast to GPIO, this is a list of devices containing
each one or more input/output devices.
Eg a Joystick has keys but potentially also rumble or leds.

Currently only very simply input devices (buttons) are supported.
This structer should enable to extend this easily.

* Move evdev config to separate file

As suggested this should be a separate file, similar to the gpioz config

* Adapt evdev code to new config

Now the config for evdev is akin to GPIO.
The big difference is that multiple devices with each
multiple input/output devices are supported.

Note that the backend is still the old event device listener backend.
Thus to support more features, the backend would need to be
quite drastically overhauled.

* Update documentation for new evdev config format

* Fix wrong reference

* Fix bug to correctly check supported input d... (continued)
Pull Request #2258: Release v3.6.0

55 of 98 new or added lines in 2 files covered. (56.12%)

19 existing lines in 1 file now uncovered.

493 of 1286 relevant lines covered (38.34%)

1.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7975917028.1 20 Feb 2024 03:29PM UTC 0
38.34
GitHub Action Run
Source Files on build 7975917028
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7975917028
  • Pull Request #2258
  • PR Base - future3/main (#7965950063)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc