11 #include "input/keyboard/interfaces/IKeyboardInputHandler.h" 12 #include "peripherals/PeripheralTypes.h" 18 class IKeyboardInputProvider;
43 std::string controllerId,
52 std::string ControllerID()
const override;
53 bool HasKey(
const KEYBOARD::KeyName& key)
const override;
54 bool OnKeyPress(
const KEYBOARD::KeyName& key, KEYBOARD::Modifier mod, uint32_t unicode)
override;
55 void OnKeyRelease(
const KEYBOARD::KeyName& key,
56 KEYBOARD::Modifier mod,
57 uint32_t unicode)
override;
60 const std::string& GetControllerID()
const {
return m_controllerId; }
61 const PERIPHERALS::PeripheralPtr& GetSource()
const {
return m_sourcePeripheral; }
64 void SetSource(PERIPHERALS::PeripheralPtr sourcePeripheral);
70 const std::string m_controllerId;
74 PERIPHERALS::PeripheralPtr m_sourcePeripheral;
Handles keyboard events for games.
Definition: GameClientKeyboard.h:32
Interface between Kodi and Game add-ons.
Definition: GameClient.h:116
Definition: AudioDecoder.h:18