docs: update gpio documentation
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
2298f6b5a7
commit
06a3f932ba
|
@ -26,6 +26,7 @@ The format is based on [Keep a Changelog].
|
||||||
- **deps**: Added support for optional `msgspec` and `uvloop` packages
|
- **deps**: Added support for optional `msgspec` and `uvloop` packages
|
||||||
- **extensions**: Agents may now register remote methods with Klipper
|
- **extensions**: Agents may now register remote methods with Klipper
|
||||||
- **file_manager**: Add `check_klipper_config_path` option
|
- **file_manager**: Add `check_klipper_config_path` option
|
||||||
|
- **button**: Added `debounce_period` option
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
@ -64,6 +65,7 @@ The format is based on [Keep a Changelog].
|
||||||
- **proc_stats**: Improved performance of Raspberry Pi CPU throttle detection.
|
- **proc_stats**: Improved performance of Raspberry Pi CPU throttle detection.
|
||||||
- **power**: Bound services are now processed during initialization when
|
- **power**: Bound services are now processed during initialization when
|
||||||
`initial_state` is configured.
|
`initial_state` is configured.
|
||||||
|
- **gpio**: Migrate from libgpiod to python-periphery
|
||||||
|
|
||||||
## [0.8.0] - 2023-02-23
|
## [0.8.0] - 2023-02-23
|
||||||
|
|
||||||
|
|
|
@ -2295,10 +2295,13 @@ pin: gpiochip0/gpio26
|
||||||
# ^!gpiochip0/gpio26
|
# ^!gpiochip0/gpio26
|
||||||
# ~!gpiochip0/gpio26
|
# ~!gpiochip0/gpio26
|
||||||
# This parameter must be provided
|
# This parameter must be provided
|
||||||
minimum_event_time: .05
|
debounce_period: .05
|
||||||
# The minimum time (in seconds) between events to trigger a response. This is
|
# The time (in seconds) an event is delayed to debounce the response.
|
||||||
# is used to debounce buttons. This value must be at least .01 seconds.
|
# The minimum debounce period is .01 seconds. The default is .05 seconds.
|
||||||
# The default is .05 seconds (50 milliseconds).
|
minimum_event_time: 0
|
||||||
|
# The minimum event duration (in seconds) required to trigger a response.
|
||||||
|
# This can be used as a secondary debounce procedure. The default is 0
|
||||||
|
# seconds (no minumum duration).
|
||||||
on_press:
|
on_press:
|
||||||
on_release:
|
on_release:
|
||||||
# Jinja2 templates to be executed when a button event is detected. At least one
|
# Jinja2 templates to be executed when a button event is detected. At least one
|
||||||
|
|
Loading…
Reference in New Issue