kodi
xbmc
input
joysticks
interfaces
IButtonSequence.h
1
/*
2
* Copyright (C) 2016-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/joysticks/JoystickTypes.h"
12
13
namespace
KODI
14
{
15
namespace
JOYSTICK
16
{
20
class
IButtonSequence
21
{
22
public
:
23
virtual
~
IButtonSequence
() =
default
;
24
25
virtual
bool
OnButtonPress(
const
FeatureName& feature) = 0;
26
31
virtual
bool
IsCapturing
() = 0;
32
};
33
}
// namespace JOYSTICK
34
}
// namespace KODI
KODI::JOYSTICK::IButtonSequence
Definition:
IButtonSequence.h:20
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
Definition:
AudioDecoder.h:18
JOYSTICK
Generated by
1.8.13