Allow mouse button event detection in Action Map Editor

This commit is contained in:
jmb462
2021-09-20 12:16:38 +02:00
parent 2d1699ef82
commit 15b2846eae
2 changed files with 35 additions and 14 deletions

View File

@ -32,6 +32,7 @@
#define ACTION_MAP_EDITOR_H
#include "editor/editor_data.h"
#include <scene/gui/color_rect.h>
// Confirmation Dialog used when configuring an input event.
// Separate from ActionMapEditor for code cleanliness and separation of responsibilities.
@ -60,6 +61,7 @@ private:
// Listening for input
Label *event_as_text;
ColorRect *mouse_detection_rect;
// List of All Key/Mouse/Joypad input options.
int allowed_input_types;