1#pragma once
2#include "taichi/ui/utils/utils.h"
3
4namespace taichi::ui {
5
6enum class EventType : int { Any = 0, Press = 1, Release = 2 };
7
8struct Event {
9 EventType tag;
10
11 DEFINE_PROPERTY(std::string, key);
12};
13
14} // namespace taichi::ui
15