~aleteoryx/muditaos

ref: 8b50f65a79f51bc712fc22c99c5c96f5421c1792 muditaos/module-bsp/bsp/headset/headset_key_codes.hpp -rw-r--r-- 517 bytes
8b50f65a — mkamonMdt [BH-828] PowerNap progress implementation 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 <cstdint>

namespace bsp {
 namespace headset {

    enum class HeadsetState : bool
    {
        NoChange = false,
        Changed
    };

    enum class KeyCode : uint8_t
    {
        Error = 0,
        Key1,
        Key2,
        Key3,
        Key4
    };

    enum class KeyEvent : uint8_t
    {
        KeyReleased = 0,
        KeyPressed,
        Error
    };
 }
}