Mutila: Mouse's Utilities for Arduino
Oft-used utilities: debouncing buttons, averaging samples, and so on.
DebouncedDualButton.h
1 #pragma once
2 
3 #include <stdint.h>
4 #include "AbstractDebouncedButton.h"
5 #include "DualInputButton.h"
6 #include "AbstractButton.h"
7 
13 public:
20 
35  void begin(bool callBeginInChildren=true, uint8_t threshold=AbstractDebouncedButton::DefaultThreshold, uint8_t delay=AbstractDebouncedButton::DefaultButtonDelay);
36 
41  void update();
42 
47  bool on();
48 
49 };
50 
51 
virtual void begin()
DebouncedDualButton(AbstractButton &button1, AbstractButton &button2)