forked from MiczFlor/RPi-Jukebox-RFID
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bringing back prior (and new) button long-press actions (+extended do…
…cumentation) (MiczFlor#1406) * Added an optional countermeasure against button bouncing effects (can be switched on via the config); Enhanced verbosity of Button status on console output. * Updated ShutdownButton: - Optimized control logic (iteration_time was formerly forced to 200ms ignoring the config value) - Renamed time_pressed to hold_time to match the corresponding name in SimpleButton base class - Pass-through of antibounce feature - Enhanced verbosity of ShutdownButton status on console output. * Introduced support for different modes on button hold: Changed hold_repeat flag (True/False) to hold_mode (textual). "hold_repeat = True" is "hold_mode = Repeat" now. Added new hold_mode "Postpone" (as possible in earlier PhonieBox versions) * Added new hold_mode "SecondFunc" for a different action after hold_time (as possible in earlier PhonieBox versions) * Added new hold_mode "SecondFuncRepeated" for repeated executions of a different action after hold_time * Updated TwoButtonControl: - Pass-through of all relevant SimpleButton base parameters - Enhanced verbosity of TwoButtonControl status on console output - Updated VolumeControl.py (though this file is completely superfluous / redundant IMHO) * Added more detailed GPIO component documentation to README.MD Fixed several typos and issues in several ini files * Added more functions that can be called by GPIO controls like buttons. Extended documentation, e.g. more example configurations. * Added auto-conversion of old/deprecated syntax within gpiocontrol.ini entries. Removed special (and redundant) handling for controls if (and only if) the corresponding config sections is named "VolumeControl" * Added the __init__.py I just forgot...
- Loading branch information
Showing
17 changed files
with
558 additions
and
176 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.