4 #include "../hal/circular_buffer.h"
42 bool AnyEvent()
const {
return !eventQueue.empty(); }
56 return printerInCharge;
63 bool printerInCharge =
false;
64 uint8_t lastButtonStates = 0;
66 constexpr
bool LastButtonState(uint8_t button)
const {
67 return (lastButtonStates & (1 << button)) != 0;
69 void FlipLastButtonState(uint8_t button) {
70 lastButtonStates ^= (1 << button);
72 void StepOneButton(uint8_t button);
74 static Event StripFromPrinterBit(uint8_t e);
77 extern UserInput userInput;
The modules namespace contains models of MMU's components.
Definition: command_base.h:8