-
Notifications
You must be signed in to change notification settings - Fork 16
Buttons
Normally Open Push Buttons connected to the GPIO connector can control a playback and volume. They can be used either instead of rotary encoders (RE) or together with RE. If buttons are used together with RE please make sure that you don't assign the same pin numbers to both.
The player supports 12 buttons with the following functionality:
- Move Left
- Move Right
- Move Up
- Move Down
- Select
- Volume Up
- Volume Down
- Mute
- Play/Pause
- Next
- Previous
- Home menu
The following image shows possible buttons connections:
The GPIO pin assignment for each button can be done either directly in the configuration file /home/pi/Peppy/config.txt or using the Configuration Web UI. The property use.buttons should be set to True when buttons are in use.
The following excerpt from the config.txt file shows pin assignment for the example shown above.
[gpio]
use.buttons = True
...
button.left =
button.right =
button.up =
button.down =
button.select =
button.volume.up = 17
button.volume.down = 27
button.mute =
button.play.pause = 22
button.next = 5
button.previous = 6
button.home =
The same pin assignment can be done through the Config Web UI:
The buttons type can be:
- GPIO - the GPIO UI section will be in use
- I2C - the I2C UI section will be in use
- Peppy Players
- Peppy Home
- Hardware
- Audio Players
- Software
- Installation Guide
- Updating Guide
- Peppy Configuration
- Languages
- Scripts
- Voice Assistant
-
Peppy Player UI
- About
- Home Screen
- Radio Player
- Radio Groups
- Radio Favorites
- Radio Browser
- File Browser
- File Menu
- Quick Configuration
- File Player
- Audiobooks Player
- Audiobooks Browser
- Stream
- Podcasts Player
- Podcasts Browser
- AirPlay
- Spotify Connect
- Bluetooth Sink
- Jukebox
- Archive
- Equalizer
- Timer
- Language
- Network
- Headless Mode
- Resolution
- Recursive Playback
- Playback Order
- Information
- Background
- Icons
- Fonts
- Player Screen
- Image Viewer
- Switch
- Collection
- Catalog
- YA Streams
- Web UI
- Screensavers
- Woodware
- Sketches