11 #include "input/mouse/interfaces/IMouseInputHandler.h" 12 #include "peripherals/PeripheralTypes.h" 18 class IMouseInputProvider;
23 class CControllerActivity;
44 std::string controllerId,
53 std::string ControllerID()
const override;
54 bool OnMotion(
const std::string& relpointer,
int dx,
int dy)
override;
55 bool OnButtonPress(
const std::string& button)
override;
56 void OnButtonRelease(
const std::string& button)
override;
57 void OnInputFrame()
override;
60 const std::string& GetControllerID()
const {
return m_controllerId; }
61 const PERIPHERALS::PeripheralPtr& GetSource()
const {
return m_sourcePeripheral; }
62 float GetActivation()
const;
65 void SetSource(PERIPHERALS::PeripheralPtr sourcePeripheral);
71 const std::string m_controllerId;
75 PERIPHERALS::PeripheralPtr m_sourcePeripheral;
76 std::unique_ptr<CControllerActivity> m_mouseActivity;
Interface between Kodi and Game add-ons.
Definition: GameClient.h:116
Definition: AudioDecoder.h:18
Handles mouse events for games.
Definition: GameClientMouse.h:33