~aleteoryx/muditaos

ref: 659570ca134048c5ca961fb3fc0f916398aa3bb8 muditaos/module-bsp/board/rt1051/puretx/bsp/keyboard/keyboard.hpp -rw-r--r-- 509 bytes
659570ca — mkamonMdt [BH-863] Fix powernap spinner arrows 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
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include <hal/key_input/KeyEventDefinitions.hpp>

#include <cstdint>
#include <vector>

namespace bsp::keyboard
{
    std::vector<KeyEvent> getKeyEvents(std::uint8_t notification);

    std::int32_t init(xQueueHandle qHandle);

    std::int32_t deinit();

    BaseType_t IRQHandler();

    BaseType_t rightFunctionalIRQHandler();
} // namespace bsp::keyboard