kodi
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 {
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
virtual bool SetRumbleState(const FeatureName &feature, float magnitude)=0
Set the value of a rumble motor.
Definition: AudioDecoder.h:18
Interface for sending input events to game controllers.
Definition: IInputReceiver.h:22