kodi
DefaultMouseTranslator.h
1 /*
2  * Copyright (C) 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/mouse/MouseTypes.h"
12 
13 namespace KODI
14 {
15 namespace GAME
16 {
17 
22 {
23 public:
31  static const char* TranslateMouseButton(MOUSE::BUTTON_ID button);
32 
40  static const char* TranslateMousePointer(MOUSE::POINTER_DIRECTION direction);
41 };
42 
43 } // namespace GAME
44 } // namespace KODI
BUTTON_ID
Buttons on a mouse.
Definition: MouseTypes.h:26
static const char * TranslateMouseButton(MOUSE::BUTTON_ID button)
Translate a mouse button ID to a mouse button name.
Definition: DefaultMouseTranslator.cpp:31
static const char * TranslateMousePointer(MOUSE::POINTER_DIRECTION direction)
Translate a mouse pointer direction.
Definition: DefaultMouseTranslator.cpp:60
Definition: AudioDecoder.h:18
Definition: DefaultMouseTranslator.h:21