diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h index b9e46906f8..9e7e19afa0 100644 --- a/common/system.h +++ b/common/system.h @@ -743,6 +743,10 @@ public: struct Event { /** The type of the event. */ EventType type; + /** Flag to indicate if the event is real or synthetic. E.g. keyboard + * repeat events are synthetic. + */ + bool synthetic; /** * Keyboard data; only valid for keyboard events (EVENT_KEYDOWN and * EVENT_KEYUP). For all other event types, content is undefined. |