Irgendwas mit buttons

This commit is contained in:
2022-04-25 20:24:44 +02:00
parent 9e256acdaa
commit caaa92eca9

View File

@ -117,19 +117,19 @@ public:
~Boardcomputer() = delete; ~Boardcomputer() = delete;
// used with ButtonPressed and ButtonReleased // used with ButtonPressed and ButtonReleased
enum { enum class Button {
ButtonLeft, Profile0 = 1,
ButtonRight, Profile1 = 2,
ButtonUp, Profile2 = 4,
ButtonDown, Profile3 = 8,
ButtonProfile0, Left = 16,
ButtonProfile1, Right = 32,
ButtonProfile2, Up = 64,
ButtonProfile3, Down = 128,
ButtonLeft2, Left2 = 256,
ButtonRight2, Right2 = 512,
ButtonUp2, Up2 = 1024,
ButtonDown2, Down2 = 2048,
}; };
// send only TO the boardcomputer // send only TO the boardcomputer