Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gcode: Rename respond() to respond_raw() | Kevin O'Connor | 2020-04-24 | 1 | -1/+1 |
| | | | | | | | | | | | Rename the method to make it more clear that it is a low-level call that should be rarely used. Also, change gcode_button.py, hall_filament_width_sensor.py, and tsl1401cl_filament_width_sensor.py to use respond_info() instead of respond_raw(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net> | ||||
* | gcode_button: Execute gcode when a button is pressed or released (#1745) | Alec B. Plumb | 2019-06-21 | 1 | -0/+61 |
An extra to execute gcode when a hardware button is pressed or released. Uses the jinja2 templating system. Inspired by pull request #545 from Miguel Moitinho miguel@moitinho.net and pull request #1098 from Paulo Drugos paulodrugos@gmail.com Signed-off-by: Alec Plumb <alec@etherwalker.com> |