~aleteoryx/muditaos

ref: 1946d53efae898edd7c638bc2af182dce86fd2a1 muditaos/module-bsp/board/rt1051/bellpx/bsp/KeyInputCommon.hpp -rw-r--r-- 559 bytes
1946d53e — Mateusz Piesta [BH-1333] Battery subsystem refactor 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
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

namespace bsp
{
    enum class NotificationSource : uint8_t
    {
        leftSideKeyPress = 1,
        leftSideKeyRelease,
        rightSideKeyPress,
        rightSideKeyRelease,
        lightCenterKeyPress,
        lightCenterKeyRelease,
        latchKeyPress,
        latchKeyRelease,
        wakeupEvent,
        wakeupEventRelease,
        rotaryEncoder,
        Invalid = 0xFF
    };
} // namespace bsp