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