GREM
3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
include
GREM
events
mouse.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2026 Ivar Härnqvist
2
// SPDX-License-Identifier: MIT
3
4
#ifndef GREM_EVENTS_MOUSE_HPP
5
#define GREM_EVENTS_MOUSE_HPP
6
7
#include <
GREM/build_config.hpp
>
8
9
#include <
GREM/core/fundamentals.hpp
>
10
11
namespace
grem::events
{
12
18
enum class
MouseButton
: uint8_t {
19
LEFT
= 1,
20
MIDDLE
= 2,
21
RIGHT
= 3,
22
BACK
= 4,
23
FORWARD
= 5,
24
};
25
26
}
// namespace grem::events
27
28
#endif
build_config.hpp
fundamentals.hpp
grem::events
Definition
controller.hpp:11
grem::events::MouseButton
MouseButton
Physical mouse button identifier.
Definition
mouse.hpp:18
grem::events::MouseButton::BACK
@ BACK
Back button.
Definition
mouse.hpp:22
grem::events::MouseButton::RIGHT
@ RIGHT
Right click.
Definition
mouse.hpp:21
grem::events::MouseButton::MIDDLE
@ MIDDLE
Middle click.
Definition
mouse.hpp:20
grem::events::MouseButton::LEFT
@ LEFT
Left click.
Definition
mouse.hpp:19
grem::events::MouseButton::FORWARD
@ FORWARD
Forward button.
Definition
mouse.hpp:23
Generated by
1.15.0