diff options
-rw-r--r-- | common/events.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/common/events.h b/common/events.h index 04dfd39584..d3c7064499 100644 --- a/common/events.h +++ b/common/events.h @@ -72,8 +72,14 @@ enum EventType { * use events to ask for the save game dialog or to pause the engine. * An associated enumerated type can accomplish this. **/ - EVENT_PREDICTIVE_DIALOG = 12, + EVENT_PREDICTIVE_DIALOG = 12 + +#ifdef ENABLE_KEYMAPPER + , + // IMPORTANT NOTE: This is part of the WIP Keymapper. If you plan to use + // this, please talk to tsoliman and/or LordHoto. EVENT_CUSTOM_BACKEND = 13 +#endif }; typedef uint32 CustomEventType; @@ -101,7 +107,11 @@ struct Event { */ Point mouse; +#ifdef ENABLE_KEYMAPPER + // IMPORTANT NOTE: This is part of the WIP Keymapper. If you plan to use + // this, please talk to tsoliman and/or LordHoto. CustomEventType customType; +#endif Event() : type(EVENT_INVALID), synthetic(false) {} }; |