Added xMasterX API v11.x source

This commit is contained in:
UberGuidoZ
2023-01-25 23:52:38 -08:00
parent 33322c0d73
commit e292fbfcd5
1094 changed files with 102160 additions and 0 deletions
@@ -0,0 +1,13 @@
#include "console_output.h"
void console_output_input_handler(CliguiApp* app, InputEvent* event) {
if(event->type == InputTypeShort && (event->key == InputKeyOk || event->key == InputKeyLeft)) {
view_dispatcher_switch_to_view(app->view_dispatcher, ViewTextInput);
app->data->state = ViewTextInput;
}
if(event->type == InputTypeShort && event->key == InputKeyBack) {
char eot = 0x03;
furi_stream_buffer_send(app->data->streams.app_tx, &eot, 1, FuriWaitForever);
}
}