mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-28 03:59:58 -07:00
Rename plugins to external
This commit is contained in:
12
applications/external/cli_bridge/console_output.c
vendored
Normal file
12
applications/external/cli_bridge/console_output.c
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
#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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user