2 * Copyright (C) 2012-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
13 #include <android/input.h>
18 CAndroidKey() = default;
19 ~CAndroidKey() = default;
21 bool onKeyboardEvent(AInputEvent
*event
);
23 static void SetHandleMediaKeys(bool enable
) { m_handleMediaKeys
= enable
; }
24 static void SetHandleSearchKeys(bool enable
) { m_handleSearchKeys
= enable
; }
25 static void XBMC_Key(uint8_t code
, uint16_t key
, uint16_t modifiers
, uint16_t unicode
, bool up
);
28 static bool m_handleMediaKeys
;
29 static bool m_handleSearchKeys
;