xbmc
PeripheralHID.h
1 /*
2  * Copyright (C) 2005-2018 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/XBMC_keyboard.h"
13 
14 namespace PERIPHERALS
15 {
17 {
18 public:
20  const PeripheralScanResult& scanResult,
21  CPeripheralBus* bus);
22  ~CPeripheralHID(void) override;
23  bool InitialiseFeature(const PeripheralFeature feature) override;
24  virtual bool LookupSymAndUnicode(XBMC_keysym& keysym, uint8_t* key, char* unicode)
25  {
26  return false;
27  }
28  void OnSettingChanged(const std::string& strChangedSetting) override;
29 
30 protected:
31  std::string m_strKeymap;
32 };
33 } // namespace PERIPHERALS
void OnSettingChanged(const std::string &strChangedSetting) override
Called when a setting changed.
Definition: PeripheralHID.cpp:77
Definition: PeripheralTypes.h:318
Definition: RetroPlayerInput.h:15
Definition: PeripheralHID.h:16
Definition: XBMC_keyboard.h:36
bool InitialiseFeature(const PeripheralFeature feature) override
Initialise one of the features of this peripheral.
Definition: PeripheralHID.cpp:37
Definition: PeripheralBus.h:34
Definition: Peripheral.h:62
Definition: Peripherals.h:49