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.
15 #include <android/input.h>
20 CAndroidKey() = default;
21 ~CAndroidKey() = default;
23 bool onKeyboardEvent(AInputEvent
*event
);
25 static void SetHandleMediaKeys(bool enable
) { m_handleMediaKeys
= enable
; }
26 static void SetHandleSearchKeys(bool enable
) { m_handleSearchKeys
= enable
; }
27 static void XBMC_Key(uint8_t code
, uint16_t key
, uint16_t modifiers
, uint16_t unicode
, bool up
);
30 static bool m_handleMediaKeys
;
31 static bool m_handleSearchKeys
;