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