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

Go to the source code of this file.

Classes

class  modules::user_input::UserInput
 

Namespaces

 modules
 The modules namespace contains models of MMU's components.
 
 modules::user_input
 User input module collects input from buttons and from communication for the logic layer.
 

Enumerations

enum  modules::user_input::Event : uint8_t {
  NoEvent = 0x7f , Right = 0 , Middle = 1 , Left = 2 ,
  FromPrinter = 0x80
}
 Beware - button codes intentionally match the protocol button encoding for optimization purposes.