aboutsummaryrefslogtreecommitdiff
path: root/common/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/events.h')
-rw-r--r--common/events.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/events.h b/common/events.h
index 69cca9b54a..5f6a7798dd 100644
--- a/common/events.h
+++ b/common/events.h
@@ -118,7 +118,11 @@ struct Event {
CustomEventType customType;
#endif
- Event() : type(EVENT_INVALID), synthetic(false) {}
+ Event() : type(EVENT_INVALID), synthetic(false) {
+#ifdef ENABLE_KEYMAPPER
+ customType = 0;
+#endif
+ }
};
/**