App accessor: init (#433)

This commit is contained in:
SG
2021-04-28 22:13:25 +10:00
committed by GitHub
parent dfcf0ea0eb
commit c3350990c2
15 changed files with 779 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#pragma once
#include <stdint.h>
class AccessorEvent {
public:
// events enum
enum class Type : uint8_t {
Tick,
Back,
};
// payload
union {
uint32_t menu_index;
} payload;
// event type
Type type;
};