11 #include "input/mouse/interfaces/IMouseInputHandler.h" 12 #include "peripherals/PeripheralTypes.h" 18 class IMouseInputProvider;
43 std::string controllerId,
52 std::string ControllerID()
const override;
53 bool OnMotion(
const std::string& relpointer,
int dx,
int dy)
override;
54 bool OnButtonPress(
const std::string& button)
override;
55 void OnButtonRelease(
const std::string& button)
override;
58 const std::string& GetControllerID()
const {
return m_controllerId; }
59 const PERIPHERALS::PeripheralPtr& GetSource()
const {
return m_sourcePeripheral; }
62 void SetSource(PERIPHERALS::PeripheralPtr sourcePeripheral);
68 const std::string m_controllerId;
72 PERIPHERALS::PeripheralPtr m_sourcePeripheral;
Interface between Kodi and Game add-ons.
Definition: GameClient.h:116
Definition: AudioDecoder.h:18
Handles mouse events for games.
Definition: GameClientMouse.h:32