sandbox
Loading...
Searching...
No Matches
mouse_button.hpp
1#ifndef LIBSBX_DEVICES_MOUSE_BUTTON_HPP_
2#define LIBSBX_DEVICES_MOUSE_BUTTON_HPP_
3
4#include <cinttypes>
5
6#include <GLFW/glfw3.h>
7
8namespace sbx::devices {
9
10enum class mouse_button : std::int32_t {
11 one = GLFW_MOUSE_BUTTON_1,
12 two = GLFW_MOUSE_BUTTON_2,
13 three = GLFW_MOUSE_BUTTON_3,
14 four = GLFW_MOUSE_BUTTON_4,
15 five = GLFW_MOUSE_BUTTON_5,
16 six = GLFW_MOUSE_BUTTON_6,
17 seven = GLFW_MOUSE_BUTTON_7,
18 eight = GLFW_MOUSE_BUTTON_8,
19 left = GLFW_MOUSE_BUTTON_LEFT,
20 right = GLFW_MOUSE_BUTTON_RIGHT,
21 middle = GLFW_MOUSE_BUTTON_MIDDLE,
22}; // enum class mouse_button
23
24} // namespace sbx::devices
25
26#endif // LIBSBX_DEVICES_MOUSE_BUTTON_HPP_