xbmc
xbmc
input
joysticks
interfaces
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
11
#include "
input/joysticks/JoystickTypes.h
"
12
13
namespace
KODI
14
{
15
namespace
JOYSTICK
16
{
17
class
IButtonSequence
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
JoystickTypes.h
KODI::JOYSTICK::IButtonSequence
Definition:
IButtonSequence.h:17
KODI::JOYSTICK::IButtonSequence::IsCapturing
virtual bool IsCapturing()=0
Returns true if a sequence is being captured to prevent input from falling through to the application...
KODI
Controller configuration window.
Definition:
AudioDecoder.h:18
JOYSTICK
KODI::JOYSTICK::FeatureName
std::string FeatureName
Name of a physical feature belonging to the joystick.
Definition:
JoystickTypes.h:28
Generated by
1.8.13