summaryrefslogtreecommitdiffstats
path: root/xbmc/games/controllers/guicontrols/GUIFeatureTranslator.h
blob: 8e28d161ba5f478cc56f86f12a066e93fed9e4f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 *  Copyright (C) 2017-2018 Team Kodi
 *  This file is part of Kodi - https://kodi.tv
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 *  See LICENSES/README.md for more information.
 */

#pragma once

#include "GUIControlTypes.h"
#include "input/joysticks/JoystickTypes.h"

namespace KODI
{
namespace GAME
{
class CGUIFeatureTranslator
{
public:
  /*!
   * \brief Get the type of button control used to map the feature
   */
  static BUTTON_TYPE GetButtonType(JOYSTICK::FEATURE_TYPE featureType);
};
} // namespace GAME
} // namespace KODI