~aleteoryx/muditaos

ref: 9acd593d878cc53a9c80b81fec9f6620ce72094d muditaos/module-bsp/board/linux/headset/headset.cpp -rw-r--r-- 636 bytes
9acd593d — Wojtek Rzepecki [EGD-7388] Fix unresponsive keyboard 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2017-2021, 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, uint8_t &keyEvent, uint8_t &keyCode)
        {
            return HeadsetState::NoChange;
        }

        bool IsInserted()
        {
            return false;
        }

        int32_t Deinit()
        {
            return 1;
        }
    } // namespace headset
} // namespace bsp