GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
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
8
10
11namespace grem::events {
12
18enum 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
Definition controller.hpp:11
MouseButton
Physical mouse button identifier.
Definition mouse.hpp:18
@ BACK
Back button.
Definition mouse.hpp:22
@ RIGHT
Right click.
Definition mouse.hpp:21
@ MIDDLE
Middle click.
Definition mouse.hpp:20
@ LEFT
Left click.
Definition mouse.hpp:19
@ FORWARD
Forward button.
Definition mouse.hpp:23