diff options
Diffstat (limited to 'xbmc/peripherals/devices/PeripheralHID.h')
-rw-r--r-- | xbmc/peripherals/devices/PeripheralHID.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/xbmc/peripherals/devices/PeripheralHID.h b/xbmc/peripherals/devices/PeripheralHID.h new file mode 100644 index 0000000..3b35dfd --- /dev/null +++ b/xbmc/peripherals/devices/PeripheralHID.h @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005-2018 Team Kodi + * This file is part of Kodi - https://kodi.tv + * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSES/README.md for more information. + */ + +#pragma once + +#include "Peripheral.h" +#include "input/XBMC_keyboard.h" + +namespace PERIPHERALS +{ +class CPeripheralHID : public CPeripheral +{ +public: + CPeripheralHID(CPeripherals& manager, + const PeripheralScanResult& scanResult, + CPeripheralBus* bus); + ~CPeripheralHID(void) override; + bool InitialiseFeature(const PeripheralFeature feature) override; + virtual bool LookupSymAndUnicode(XBMC_keysym& keysym, uint8_t* key, char* unicode) + { + return false; + } + void OnSettingChanged(const std::string& strChangedSetting) override; + +protected: + std::string m_strKeymap; +}; +} // namespace PERIPHERALS |