xbmc
xbmc
input
joysticks
interfaces
IInputReceiver.h
1
/*
2
* Copyright (C) 2014-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
{
21
class
IInputReceiver
22
{
23
public
:
24
virtual
~
IInputReceiver
() =
default
;
25
34
virtual
bool
SetRumbleState
(
const
FeatureName
& feature,
float
magnitude) = 0;
35
};
36
}
// namespace JOYSTICK
37
}
// namespace KODI
JoystickTypes.h
KODI::JOYSTICK::IInputReceiver::SetRumbleState
virtual bool SetRumbleState(const FeatureName &feature, float magnitude)=0
Set the value of a rumble motor.
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
KODI::JOYSTICK::IInputReceiver
Interface for sending input events to game controllers.
Definition:
IInputReceiver.h:21
Generated by
1.8.13