unleashed-firmware/applications/irda/irda-app-event.h
Albert Kharisov 5ed9bdbc37
[FL-1652, FL-1554] IRDA: Continuous transmitting (#636)
* [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>
2021-08-11 20:51:06 +03:00

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;
};