| 1 |
/* |
| 2 |
* Copyright (C) 2005-2024 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 |
|
| 11 |
#include "Peripheral.h" |
| 12 |
#include "input/keyboard/XBMC_keyboard.h" |
| 13 |
|
| 14 |
namespace PERIPHERALS |
| 15 |
{ |
| 16 |
/*! |
| 17 |
* \ingroup peripherals |
| 18 |
*/ |
| 19 |
class CPeripheralHID : public CPeripheral |
| 20 |
{ |
| 21 |
public: |
| 22 |
CPeripheralHID(CPeripherals& manager, |
| 23 |
const PeripheralScanResult& scanResult, |
| 24 |
CPeripheralBus* bus); |
| 25 |
~CPeripheralHID(void) override; |
| 26 |
bool InitialiseFeature(const PeripheralFeature feature) override; |
| 27 |
virtual bool LookupSymAndUnicode(XBMC_keysym& keysym, uint8_t* key, char* unicode) |
| 28 |
{ |
| 29 |
return false; |
| 30 |
} |
| 31 |
void OnSettingChanged(const std::string& strChangedSetting) override; |
| 32 |
|
| 33 |
protected: |
| 34 |
std::string m_strKeymap; |
| 35 |
}; |
| 36 |
} // namespace PERIPHERALS |