kodi
MouseTypes.h
1 /*
2  * Copyright (C) 2018-2024 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "input/InputTypes.h"
12 
13 #include <string>
14 
15 namespace KODI
16 {
17 namespace MOUSE
18 {
19 
22 
26 enum class BUTTON_ID
27 {
28  UNKNOWN,
29  LEFT,
30  RIGHT,
31  MIDDLE,
32  BUTTON4,
33  BUTTON5,
34  WHEEL_UP,
35  WHEEL_DOWN,
36  HORIZ_WHEEL_LEFT,
37  HORIZ_WHEEL_RIGHT,
38 };
39 
45 using ButtonName = std::string;
46 
50 using POINTER_DIRECTION = INPUT::CARDINAL_DIRECTION;
51 
57 using PointerName = std::string;
58 
60 
61 } // namespace MOUSE
62 } // namespace KODI
BUTTON_ID
Buttons on a mouse.
Definition: MouseTypes.h:26
std::string ButtonName
Name of a mouse button.
Definition: MouseTypes.h:45
Definition: AudioDecoder.h:18
std::string PointerName
Name of the mouse pointer.
Definition: MouseTypes.h:57