summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-08 09:45:11 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-08 09:45:11 +0100
commit9f859a111cb6b74bb2b0c42304724604c4f5d6d9 (patch)
treeded61d681de35360d72098b0734152d06c136de4 /core
parent9f85deb75af806c75c68b9897594e87044334d25 (diff)
parent39d79ce2170dd4b62d739e30e430991a70913173 (diff)
Merge pull request #72866 from Sauermann/fix-release-button-mask
Fix mouse-button-mask on button release in unit test
Diffstat (limited to 'core')
-rw-r--r--core/input/input_enums.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/input/input_enums.h b/core/input/input_enums.h
index 02efde2d30..7974ee639d 100644
--- a/core/input/input_enums.h
+++ b/core/input/input_enums.h
@@ -122,6 +122,7 @@ enum class MouseButton {
};
enum class MouseButtonMask {
+ NONE = 0,
LEFT = (1 << (int(MouseButton::LEFT) - 1)),
RIGHT = (1 << (int(MouseButton::RIGHT) - 1)),
MIDDLE = (1 << (int(MouseButton::MIDDLE) - 1)),