kodi
KeyboardActionMap.h
1 /*
2  * Copyright (C) 2017-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 "input/keymaps/interfaces/IKeyboardActionMap.h"
12 
13 namespace KODI
14 {
15 namespace KEYMAP
16 {
21 {
22 public:
23  CKeyboardActionMap() = default;
24 
25  ~CKeyboardActionMap() override = default;
26 
27  // implementation of IActionMap
28  unsigned int GetActionID(const CKey& key) override;
29 };
30 } // namespace KEYMAP
31 } // namespace KODI
unsigned int GetActionID(const CKey &key) override
Get the action ID mapped to the specified key.
Definition: KeyboardActionMap.cpp:21
Interface for translating keyboard keys to action IDs.
Definition: IKeyboardActionMap.h:22
Definition: AudioDecoder.h:18
Definition: Key.h:17
Definition: KeyboardActionMap.h:20