Proposal: Button Debounce

Yes, there is some debounce magic in buttons.c. But I think this only requires that the button is pressed for 2 reads. And reads happen pretty frequently, every 2 milliseonds

That’s a very short amount of time on a human scale (the blink of an eye is ~150ms). So its possible that manipulating the filament causes multiple button presses.

But filament_switch_sensor has a second much more aggressive debounce. The option event_delay defaults to 3 seconds and it ignores duplicate events during that time. So the macro cant be triggered more than once every 3 seconds.

@EmperorArthur can you describe the problem? What is happening with the filament_switch_sensor that’s frustrating you?