xbmc
xbmc
input
joysticks
interfaces
IInputProvider.h
1
/*
2
* Copyright (C) 2017-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
namespace
KODI
12
{
13
namespace
JOYSTICK
14
{
15
class
IInputHandler
;
16
21
class
IInputProvider
22
{
23
public
:
24
virtual
~
IInputProvider
() =
default
;
25
33
virtual
void
RegisterInputHandler
(
IInputHandler
* handler,
bool
bPromiscuous) = 0;
34
40
virtual
void
UnregisterInputHandler
(
IInputHandler
* handler) = 0;
41
};
42
}
// namespace JOYSTICK
43
}
// namespace KODI
IInputHandler
Definition:
IInputHandler.h:16
KODI::JOYSTICK::IInputProvider
Interface for classes that can provide input.
Definition:
IInputProvider.h:21
KODI::JOYSTICK::IInputProvider::RegisterInputHandler
virtual void RegisterInputHandler(IInputHandler *handler, bool bPromiscuous)=0
Register a handler for the provided input.
KODI
Controller configuration window.
Definition:
AudioDecoder.h:18
KODI::JOYSTICK::IInputHandler
Interface for handling input events for game controllers.
Definition:
IInputHandler.h:25
KODI::JOYSTICK::IInputProvider::UnregisterInputHandler
virtual void UnregisterInputHandler(IInputHandler *handler)=0
Unregister a handler.
JOYSTICK
Generated by
1.8.13