Skip to content

Commit

Permalink
Improve README
Browse files Browse the repository at this point in the history
- Remove duplicated section as suggested
- Add Zero Delay Arcade USB Encoder usecase
  • Loading branch information
votti committed Aug 15, 2023
1 parent 0408775 commit 5243583
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/jukebox/components/controls/event_devices/README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Event devices are generic input devices that are exposed in ``/dev/input``.
This includes USB peripherals (Keyboards, Controllers, Joysticks or Mouse) as well as potentially bluetooth devices.

A specific usecase for this could be, if a Zero Delay Arcade USB Encoder is used to wire arcade buttons instead of using GPIO pins.

The devices and their button mappings need to be mapped in the configuration file.

Configuration
Expand Down Expand Up @@ -127,7 +129,3 @@ Here is a complete configuration example for a USB Joystick controller:
# Button to shutdown
292:
alias: shutdown
Key codes can be found in the log files. Press the various buttons on your headset, while watching the
logs with e.g. ``tail -f shared/logs/app.log``. Look for entries like ``No callback registered for button ...``.

0 comments on commit 5243583

Please sign in to comment.