kodi
xbmc
input
keymaps
interfaces
IKeyboardActionMap.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
class
CKey
;
12
13
namespace
KODI
14
{
15
namespace
KEYMAP
16
{
22
class
IKeyboardActionMap
23
{
24
public
:
25
virtual
~
IKeyboardActionMap
() =
default
;
26
35
virtual
unsigned
int
GetActionID
(
const
CKey
& key) = 0;
36
};
37
}
// namespace KEYMAP
38
}
// namespace KODI
KEYMAP
KODI::KEYMAP::IKeyboardActionMap::GetActionID
virtual unsigned int GetActionID(const CKey &key)=0
Get the action ID mapped to the specified key.
KODI::KEYMAP::IKeyboardActionMap
Interface for translating keyboard keys to action IDs.
Definition:
IKeyboardActionMap.h:22
KODI
Definition:
AudioDecoder.h:18
CKey
Definition:
Key.h:17
Generated by
1.8.13