mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-15 17:18:01 +00:00
5ed9bdbc37
* [FL-1652] IRDA: Continuous transmitting * continuous encoding and sending signals by pressing button on menu * fast buttons scrolling in remote menu * bruteforce: stop reading file if progress == 100% * IRDA: .hpp -> .h * [FL-1554] IRDA: xTaskNotify -> osEventsFlagSet * IRDA: some stability fixes * Irda: minor cleanup, api-hal to furi-hal rename. Co-authored-by: あく <alleteam@gmail.com>
28 lines
515 B
C++
28 lines
515 B
C++
#pragma once
|
|
#include <irda.h>
|
|
#include <gui/modules/dialog_ex.h>
|
|
|
|
class IrdaAppEvent {
|
|
public:
|
|
enum class Type : uint8_t {
|
|
Tick,
|
|
Exit,
|
|
Back,
|
|
MenuSelected,
|
|
MenuSelectedPress,
|
|
MenuSelectedRelease,
|
|
DialogExSelected,
|
|
NextScene,
|
|
IrdaMessageReceived,
|
|
TextEditDone,
|
|
PopupTimer,
|
|
ButtonPanelPressed,
|
|
};
|
|
|
|
union {
|
|
int32_t menu_index;
|
|
DialogExResult dialog_ex_result;
|
|
} payload;
|
|
|
|
Type type;
|
|
};
|