~aleteoryx/muditaos

ref: 38c53c1800445032f551aef238bd2ed5a7633782 muditaos/module-bsp/board/rt1051/puretx/bsp/keyboard/keyboard.hpp -rw-r--r-- 518 bytes
38c53c18 — Paweł Joński [MOS-288] Fixing cmake assets download 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(KeyNotificationSource notification);

    std::int32_t init(xQueueHandle qHandle);

    std::int32_t deinit();

    BaseType_t IRQHandler();

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