xbmc
xbmc
input
keyboard
interfaces
IKeyboardDriverHandler.h
1
/*
2
* Copyright (C) 2015-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
class
CKey
;
12
13
namespace
KODI
14
{
15
namespace
KEYBOARD
16
{
21
class
IKeyboardDriverHandler
22
{
23
public
:
24
virtual
~
IKeyboardDriverHandler
() =
default
;
25
33
virtual
bool
OnKeyPress
(
const
CKey
& key) = 0;
34
40
virtual
void
OnKeyRelease
(
const
CKey
& key) = 0;
41
};
42
}
// namespace KEYBOARD
43
}
// namespace KODI
KODI::KEYBOARD::IKeyboardDriverHandler::OnKeyRelease
virtual void OnKeyRelease(const CKey &key)=0
A key has been released.
KODI
Controller configuration window.
Definition:
AudioDecoder.h:18
KODI::KEYBOARD::IKeyboardDriverHandler::OnKeyPress
virtual bool OnKeyPress(const CKey &key)=0
A key has been pressed.
KODI::KEYBOARD::IKeyboardDriverHandler
Interface for handling keyboard events.
Definition:
IKeyboardDriverHandler.h:21
CKey
Definition:
Key.h:135
Generated by
1.8.13