12345678910111213141516171819202122232425262728293031323334353637 |
- #pragma once
- #include <stdint.h>
- #define BUTTON_OP_RIGHT(X) ( ( X & 0xF0 ) >> 4 )
- #define BUTTON_OP_MIDDLE(X) ( X & 0x0F )
- namespace MMU2 {
- enum class ButtonOperations : uint8_t {
- NoOperation = 0,
- Retry = 1,
- Continue = 2,
- RestartMMU = 3,
- Unload = 4,
- StopPrint = 5,
- DisableMMU = 6,
- };
- enum Buttons : uint8_t {
- Right = 0,
- Middle,
- Left,
-
-
- RestartMMU,
- StopPrint,
- DisableMMU,
-
- NoButton = 0xff
- };
- }
|