From acc80b06d9a2ddda8dfd1e552137680085b90f67 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Tue, 29 Oct 2024 03:22:56 +0000 Subject: [PATCH] Add ASCII event request --- flipper.proto | 1 + gui.proto | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/flipper.proto b/flipper.proto index 989af13..ea937ec 100644 --- a/flipper.proto +++ b/flipper.proto @@ -114,6 +114,7 @@ message Main { .PB_Gui.StopScreenStreamRequest gui_stop_screen_stream_request = 21; .PB_Gui.ScreenFrame gui_screen_frame = 22; .PB_Gui.SendInputEventRequest gui_send_input_event_request = 23; + .PB_Gui.SendAsciiEventRequest gui_send_ascii_event_request = 100; .PB_Gui.StartVirtualDisplayRequest gui_start_virtual_display_request = 26; .PB_Gui.StopVirtualDisplayRequest gui_stop_virtual_display_request = 27; .PB_Gpio.SetPinMode gpio_set_pin_mode = 51; diff --git a/gui.proto b/gui.proto index faaedcd..ff6953f 100644 --- a/gui.proto +++ b/gui.proto @@ -45,6 +45,10 @@ message SendInputEventRequest { InputType type = 2; } +message SendAsciiEventRequest { + uint32 value = 1; +} + message StartVirtualDisplayRequest { ScreenFrame first_frame = 1; /**< Optional: screen frame to show */ bool send_input = 2; /**< Optional: send flipper input */