xbmc
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 
12 
13 namespace KODI
14 {
15 namespace JOYSTICK
16 {
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
virtual bool SetRumbleState(const FeatureName &feature, float magnitude)=0
Set the value of a rumble motor.
Controller configuration window.
Definition: AudioDecoder.h:18
std::string FeatureName
Name of a physical feature belonging to the joystick.
Definition: JoystickTypes.h:28
Interface for sending input events to game controllers.
Definition: IInputReceiver.h:21