summaryrefslogtreecommitdiffstats
path: root/xbmc/peripherals/devices/PeripheralHID.h
blob: 3b35dfd3d3b9129309ba27ed7c46d27cf2cf4384 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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