mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-20 20:10:33 -05:00
32 lines
659 B
C++
32 lines
659 B
C++
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include "headset.hpp"
|
|
|
|
namespace bsp
|
|
{
|
|
namespace headset
|
|
{
|
|
|
|
int32_t Init(xQueueHandle qHandle)
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
HeadsetState headset_get_data(bool &headsetState, bool µphoneState, uint8_t &keyEvent, uint8_t &keyCode)
|
|
{
|
|
return HeadsetState::NoChange;
|
|
}
|
|
|
|
bool IsInserted()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
int32_t Deinit()
|
|
{
|
|
return 1;
|
|
}
|
|
} // namespace headset
|
|
} // namespace bsp
|