Prusa-MMU-Private
PrusaMultiMaterialUpgradev3firmwareforMK3SMK4
Classes | Namespaces | Enumerations
buttons.h File Reference
#include <stdint.h>
#include "debouncer.h"
#include "../config/config.h"
Include dependency graph for buttons.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  modules::buttons::Button
 A model of a single button, performs automatic debouncing on top of the raw ADC API. More...
 
class  modules::buttons::Buttons
 A model of the 3 buttons on the MMU unit. More...
 

Namespaces

 modules
 The modules namespace contains models of MMU's components.
 
 modules::buttons
 The buttons namespace provides all necessary facilities related to the logical model of the physical buttons device the MMU unit.
 

Enumerations

enum  { Right = 0 , Middle , Left }
 Enum of buttons - used also as indices in an array of buttons to keep the code size tight.