diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-08 09:45:11 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-08 09:45:11 +0100 |
commit | 9f859a111cb6b74bb2b0c42304724604c4f5d6d9 (patch) | |
tree | ded61d681de35360d72098b0734152d06c136de4 /core | |
parent | 9f85deb75af806c75c68b9897594e87044334d25 (diff) | |
parent | 39d79ce2170dd4b62d739e30e430991a70913173 (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.h | 1 |
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)), |