xbmc
IButtonSequence.h
1 /*
2  * Copyright (C) 2016-2018 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 
12 
13 namespace KODI
14 {
15 namespace JOYSTICK
16 {
18 {
19 public:
20  virtual ~IButtonSequence() = default;
21 
22  virtual bool OnButtonPress(const FeatureName& feature) = 0;
23 
28  virtual bool IsCapturing() = 0;
29 };
30 } // namespace JOYSTICK
31 } // namespace KODI
Definition: IButtonSequence.h:17
virtual bool IsCapturing()=0
Returns true if a sequence is being captured to prevent input from falling through to the application...
Controller configuration window.
Definition: AudioDecoder.h:18
std::string FeatureName
Name of a physical feature belonging to the joystick.
Definition: JoystickTypes.h:28